LImageViewer::InsertCell

#include "ltwrappr.h"

L_INT LImageViewer::InsertCell(hCellWnd, nCellIndex, uFlags);

HWND hCellWnd;

handle to the cell window

L_INT nCellIndex;

insertion index

L_UINT uFlags;

reserved for future use

Adds a new empty cell to the container.

Parameter

Description

hCellWnd

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

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.

uFlags

Reserved for future use. Pass 0.

Returns

>= 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 LImageViewerCell::SetCellBitmapList.

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.

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++ Class Library Help