L_ILM_GETPAGE

Send this message to get the number of the currently visible page of items in the ImageList Control.

Parameter

Description

wParam

Ignored, use 0.

lParam

Ignored, use 0.

Returns

>=0

The number of the currently visible page

< 0

An error occurred. Refer to Return Codes.

Comments

This message will return the highest visible page number in the ImageList Control. Pages are calculated using the total number of rows or columns (depending on the scroll style) and the total number of rows or columns (depending on the scroll style) that are completely visible in the ImageList Control's client area. A page is not visible unless its first row/column is completely visible.

The associated macro is:

L_ImgListGetPage(hWnd)

For a complete list of available macros, refer to the Ltlst.h file.

See Also

Elements:

L_ILM_GETPAGECOUNT, L_ILM_GETITEMCOUNT, L_ILM_GETROWCOUNT, L_ILM_GETCOLCOUNT, L_ILM_GETSELCOUNT, L_ILM_GETSCROLLSTYLE

Topics:

Using the ImageList Control

 

Image List Control Messages

Example

For an example, refer to L_ILM_GETPAGECOUNT