L_ILM_GETCOLCOUNT

Send this message to get the current number of item columns in the ImageList Control.

Parameter

Description

wParam

Ignored, use 0.

lParam

Ignored, use 0.

Returns

>=0

The number of columns.

<0

An error occurred. Refer to Return Codes.

Comments

This message will return the total number of item columns in the ImageList Control.

The associated macro is:

L_ImgListGetColumnCount(hWnd)

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

See Also

Elements:

L_ILM_GETROWCOUNT, L_ILM_GETITEMCOUNT, L_ILM_GETSELCOUNT, L_ILM_GETPAGECOUNT

Topics:

Using the ImageList Control

 

Image List Control Messages

Example

For an example, refer to L_ILM_GETROWCOUNT.