L_ILM_SETITEMOPTIONS

Send this message to set the ImageList Control's item display options.

Parameter

Description

wParam

Ignored, use 0.

lParam

Pointer to LILITEMOPTION structure that contains the new display options to be set.

 

Returns

SUCCESS

Function was successful

< 0

An error occurred. Refer to Return Codes.

Comments

The ImageList Control will be updated with the settings in the structure pointed to by lParam.

You must set the uStructSize member of the LILITEMOPTION structure before using this message.

If you set a font other than the default, you are responsible for creating the font and you are responsible for destroying it when it is no longer needed.

The associated macro is:

L_ImgListSetItemOptions(hWnd, pItemOptions)

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

See Also

Elements:

L_ILM_GETITEMOPTIONS, L_ILM_GETSELOPTIONS, L_ILM_SETITEMOPTIONS

Topics:

Using the ImageList Control

 

Image List Control Messages

Example

For an example, refer to L_ILM_GETITEMOPTIONS.