L_DispContainerInsertCell

Summary

Adds a new empty cell to the container.

Syntax

#include "ltivw.h"

L_LTIVW_API L_INT L_DispContainerInsertCell(hCon, hCellWnd, nCellIndex, uFlags)

Parameters

HDISPCONTAINER hCon

Handle to the container.

L_HWND hCellWnd

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

L_INT nCellIndex

Zero-based index that specifies where to place the new cell. Pass -1 or a number greater than the cell count to append the cell to the end of the current cell list.

L_UINT uFlags

Reserved for future use. Pass 0.

Returns

Value Meaning
>= 0 The index of the new cell
< 0 An error occurred. Refer to Return Codes.

Comments

When the user passes 1 or a number greater than the cells count in nCellIndex, the function will append the container with the new cell. Otherwise all the cells starting from nCellIndex will be shifted to the right one block in order to add the new cell.

The newly inserted cell will be empty. To add a bitmap list to it, use the function L_DispContainerSetCellBitmapList.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_DispContainerCreate.

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.