L_DispContainerGetCellWindowHandle

#include "ltivw.h"

L_LTIVW_API L_HWND L_DispContainerGetCellWindowHandle(hCon, nCellIndex, uFlags)

HDISPCONTAINER hCon;

/* handle to the container */

L_INT nCellIndex;

/* index of the cell */

L_UINT uFlags;

/* reserved for future use */

Returns the window handle for the specified cell. This function is available only in the Medical Imaging Suite toolkits.

Parameter

Description

hCon

Handle to the container

nCellIndex

A zero-based index of the cell for which to get the window handle.

uFlags

Reserved for future use. Pass 0.

Returns

>0

Handle to the cell window

NULL

An error occurred. To get extended error information, call GetLastError. And then refer to Return Codes.

Comments

Once you get the window handle for the cell, its best not to change the size of the window. Changing the size of the window may result in unexpected behavior.

When a cell is inserted into a container, the cell's window is created automatically.

Required DLLs and Libraries

LTIVW

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

See Also

Functions:

L_DispContainerCreate, L_DispContainerRemoveCell, L_DispContainerInsertCell, L_DispContainerGetCellCount, L_DispContainerSetCellBitmapList, L_DispContainerSetCellTag, L_DispContainerSetCellProperties, L_DispContainerGetCellProperties, L_DispContainerGetCellPosition, L_DispContainerRepositionCell, L_DispContainerGetCellBitmapList, L_DispContainerGetCellBounds, L_DispContainerFreezeCell, L_DispContainerSetBounds, L_DispContainerSelectCell, L_DispContainerIsCellSelected, L_DispContainerIsCellFrozen

 

Using the Image Viewer

 

Image Viewer Functions: Image Viewer Cells

Example

For an example, refer to L_DispContainerGetWindowHandle.