TVM_SETBKCOLORTVM_SETBKCOLOR*
*Contents  *Index  *Topic Contents
*Previous Topic: TVM_SELECTITEM
*Next Topic: TVM_SETIMAGELIST

TVM_SETBKCOLOR


TVM_SETBKCOLOR
    wParam = 0;
    lParam = (LPARAM)(COLORREF) clrBk;

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

clrBk
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.

Version 4.71

See also TVM_GETBKCOLOR


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.