Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Retrieves the current background color of the control. You can use this macro or send the TVM_GETBKCOLOR message explicitly.
Syntax
COLORREF TreeView_GetBkColor(
HWND hwnd
);
Parameters
hwnd
Type: HWND
Handle to a tree-view control.
Return value
Type: COLORREF
Returns a COLORREF value that represents the current background color. If this value is -1, the control is 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] |
| Target Platform | Windows |
| Header | commctrl.h |