L_ILM_SETSCROLLSTYLE

Send this message to set the ImageList control's scroll style.

Parameter

Description

wParam

New scroll style, which can be one of the following:

 

SCROLLSTYLE_VERTICAL

[0] scrolling vertically

 

SCROLLSTYLE_HORIZONTAL

[1] scrolling horizontally

lParam

Ignored, use 0.

 

Returns

The previous scroll style, which can be one of the following:

SCROLLSTYLE_VERTICAL

[0] scrolling vertically

SCROLLSTYLE_HORIZONTAL

[1] scrolling horizontally

Comments

The associated macro is:

L_ImgListSetScrollStyle(hWnd, uStyle)

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

See Also

Elements:

L_ILM_GETSCROLLSTYLE, L_ILM_SCROLLITEMS, L_ILM_ENSUREVISIBLE

Topics:

Using the ImageList Control

 

Image List Control Messages

Example

For an example, refer to L_ILM_GETSCROLLSTYLE