Sets the first visible row of cells in the container.
#include "ltivw.h"
L_LTIVW_API L_INT L_DispContainerSetFirstVisibleRow(hCon, uRow, uFlags)
Handle to the container.
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.
Reserved for future use. Pass 0.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
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.
For an example, refer to L_DispContainerCreate.