LImageListControl::EnsureVisible

#include "ltwrappr.h"

L_INT LImageListControl::EnsureVisible(nIndex)

Scrolls the image list to make the specified item visible.

Parameters

L_INT nIndex

0-based index that indicates the item to which to scroll.

Returns

Value Meaning
<>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

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LImageListControl::Insert.

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

LEADTOOLS Raster Imaging C++ Class Library Help