Available in LEADTOOLS Medical Imaging toolkits. |
L_DispContainerSetFirstVisibleRow
#include "ltivw.h"
L_LTIVW_API L_INT L_DispContainerSetFirstVisibleRow(hCon, uRow, uFlags)
HDISPCONTAINER hCon; |
/* handle to the container */ |
L_UINT uRow; |
/* new first visible row index */ |
L_UINT uFlags; |
/* reserved for future use */ |
Sets the first visible row of cells in the container.
Parameter |
Description |
hCon |
Handle to the container. |
uRow |
Index of the row to set as the first visible row in the container. Row numbering is with respect to the top of the container. |
uFlags |
Reserved for future use. Pass 0. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
This function is useless if the number of cells in the container is less than the number of rows in the container times the number of columns in the container. To determine the number of cells in the container, call L_DispContainerGetCellCount.
The number of rows and columns in the container can be altered programmatically by calling L_DispContainerSetProperties. The number of rows and columns in the container can be altered dynamically by adding or removing splitters.
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. |
See Also
Example
For an example, refer to L_DispContainerCreate.