L_ILM_SETBORDERCOLOR

Send this message to set the border color of the ImageList Control.

Parameter

Description

wParam

Ignored, use 0.

lParam

COLORREF value to be used as the new border color of the control.

 

Returns

SUCCESS

Function was successful

< 0

An error occurred. Refer to Return Codes.

Comments

The associated macro is:

L_ImgListSetBorderColor(hWnd, crBorder)

Note: Border Color only has an effect when the ImageList Control's window includes the WS_BORDER window style, and does not include the WS_EX_CLIENTEDGE extended window style.

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

See Also

Elements:

L_ILM_GETBORDERCOLOR, L_ILM_GETBACKCOLOR, L_ILM_SETBACKCOLOR, L_ILM_GETSELOPTIONS, L_ILM_GETITEMOPTIONS

Topics:

Using the ImageList Control

 

Image List Control Messages

 

Using Color Values in LEADTOOLS

Example

For an example, refer to L_ILM_GETBORDERCOLOR.