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
LTFIL
LTIMG

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

Class Members

Topics:

Using the ImageList Control

Example

For an example, refer to LImageListControl::Insert.

Help Version 20.0.2020.4.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help