Поделиться через


CTreeCtrl::SetBkColor

This member function implements the behavior of the Win32 message TVM_SETBKCOLOR, as described in the Windows SDK.

COLORREF SetBkColor(
   COLORREF clr 
);

Параметры

  • clr
    A 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.

Возвращаемое значение

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.

Пример

See the example for CTreeCtrl::SetTextColor.

Требования

Header: afxcmn.h

См. также

Основные понятия

CTreeCtrl Class

CTreeCtrl Members

Hierarchy Chart

CTreeCtrl::GetBkColor