#include "ltivw.h"
L_LTIVW_API L_INT L_DispContainerRemoveCell(hCon, nCellIndex, uFlags)
HDISPCONTAINER hCon; |
handle to the container |
L_INT nCellIndex; |
removal index |
L_UINT uFlags; |
flags |
Removes a cell from the container.
Parameter |
Description |
hCon |
A handle to the container. |
nCellIndex |
Zero-based index that specifies the index of the cell to remove. Pass -1 to remove all cells from the container. |
uFlags |
Reserved for future use. Pass 0. |
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
When a cell is removed from the image viewer, any cells to the right or below the removed cell will be automatically shifted to the left, or up, to the end of the preceding row, as needed.
To insert a new cell, call L_DispContainerInsertCell.
When the container itself is no longer needed, call the L_DispContainerDestroy function to destroy any cells within the container, any associated bitmaps, and any internal data.
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. |
For an example, refer to L_DispContainerCreate.