Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
LImageListControl::EnsureVisible
#include "ltwrappr.h"
L_INT LImageListControl::EnsureVisible(nIndex)
L_INT nIndex; |
/* index of the item to which to scroll */ |
Scrolls the image list to make the specified item visible.
Parameter |
Description |
nIndex |
0-based index that indicates the item to which to scroll. |
Returns
<>0 |
The number of rows/columns scrolled to make the specified item visible. |
0 |
Did not scroll OR an error occurred. |
Comments
Depending on the current setting for the control's ScrollStyle, the number or rows or columns returned will be scrolled in order to make the specified item visible.
Required DLLs and Libraries
LTDIS 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
Functions: |
|
Topics: |
Example
For an example, refer to LImageListControl::Insert.