#include "ltwrappr.h"
L_INT LImageViewer::InsertCell(hCellWnd, nCellIndex, uFlags);
Adds a new empty cell to the container.
A handle to the window that represents the Medical Viewer Cell.
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.
Reserved for future use. Pass 0.
Value | Meaning |
---|---|
>= 0 | The index of the new cell. |
< 0 | An error occurred. Refer to Return Codes. |
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
For an example, refer to LImageViewer::Create.