Rediger

Del via


TVM_SETLINECOLOR message

The TVM_SETLINECOLOR message sets the current line color.

Parameters

wParam

Must be zero.

lParam

New line color. Use the CLR_DEFAULT value to restore the system default colors.

Return value

Returns the previous line color.

Remarks

This message only changes line colors. To change the colors of the '+' and '-' inside the buttons, use the TVM_SETTEXTCOLOR message.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h

See also

TVM_GETLINECOLOR