L_DispContainerGetCellWindowHandle

Summary

Returns the window handle for the specified cell.

Syntax

#include "ltivw.h"

L_LTIVW_API L_HWND L_DispContainerGetCellWindowHandle(hCon, nCellIndex, uFlags)

Parameters

HDISPCONTAINER hCon

Handle to the container

L_INT nCellIndex

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

L_UINT uFlags

Reserved for future use. Pass 0.

Returns

Value Meaning
>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

See Also

Functions

Example

For an example, refer to L_DispContainerGetWindowHandle.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Medical Image Viewer C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.