#include "l_bitmap.h"

L_LTIVW_API L_INT EXT_FUNCTION L_DispContainerUpdateCellView(hCellWnd, uFlags)

L_HWND hCellWnd;

handle to the cell window

L_UINT uFlags;

reserved for future use

Recalculates the cells internal values in order to update the view according to the new change made on the image.




A handle to the window that represents the Medical Viewer Cell.


Reserved for future use. Pass 0.



The function was successful.

< 1

An error occurred. Refer to Return Codes.


This function is useful when the user applies a certain effect on the cell image that causes the image dimensions to change.

This function will also repaint the cell. To repaint the cell only with recalculated internal data, use the L_DispContainerRepaintCell function.

To stop repainting while applying a series of effects without refreshing each time an effect is applied, use the function L_DispContainerBeginUpdate to stop the cell from repainting, and then use the function L_DispContainerBeginUpdate to repaint everything.

Required DLLs and Libraries


For a listing of the exact DLLs and Libraries needed; based on the toolkit version; refer to Files To Be Included With Your Application.


The toolkit comes in Win32 and x64 editions that can support development of software applications for any of the following environments:

Windows 10

Windows 8

Windows 7

Windows Vista

Windows XP

Windows 2000

See Also


L_DispContainerCreate, L_DispContainerDestroy, L_DispContainerRepaintCell, L_DispContainerBeginUpdate, L_DispContainerEndUpdate


Using the Image Viewer


Image Viewer Functions: Using the Image Viewer


This example resizes the first frame of the first cell.

L_INT DispContainerUpdateCellViewExample(HDISPCONTAINER hCon) 
   L_INT        nRet; 
   HWND hCellWnd = L_DispContainerGetCellWindowHandle(hCon, 0, 0); 
   nRet = L_DispContainerGetBitmapHandle(hCellWnd, 0, &Bitmap, 0); 
   if (nRet != SUCCESS) 
      return nRet; 
   L_SizeBitmapInterpolate(&Bitmap, BITMAPWIDTH(&Bitmap) * 2, BITMAPHEIGHT(&Bitmap), 0); 
   L_DispContainerSetBitmapHandle(hCellWnd, 0, &Bitmap, TRUE, 0); 
   L_DispContainerUpdateCellView(hCellWnd, 0); 
   return SUCCESS; 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Medical Image Viewer C API Help