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
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för