This topic has not yet been rated - Rate this topic

TVM_SETBKCOLOR message

Sets the background color of the control. You can send this message explicitly or by using the TreeView_SetBkColor macro.

Parameters

wParam
Must be zero.
lParam

COLORREF value that contains the new background color. If this value is -1, the control will revert to using the system color for the background color.

Return value

Returns a COLORREF value that represents the previous background color. If this value is -1, the control was using the system color for the background color.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

See also

TVM_GETBKCOLOR

 

 

Send comments about this topic to Microsoft

Build date: 10/27/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.