LImageListControl::EnsureVisible

Summary

Scrolls the image list to make the specified item visible.

Syntax

#include "ltwrappr.h"

L_INT LImageListControl::EnsureVisible(nIndex)

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 22.0.2023.2.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.