Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the current text color of the control. You can use this macro or send the TVM_GETTEXTCOLOR message explicitly.
Syntax
COLORREF TreeView_GetTextColor(
HWND hwnd
);
Parameters
hwnd
Type: HWND
Handle to a tree-view control.
Return value
Type: COLORREF
Returns a COLORREF value that represents the current text color. If this value is -1, the control is using the system color for the text 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 |