CReBarCtrl::SetTextColor

Implements the behavior of the Win32 message RB_SETTEXTCOLOR, as described in the Windows SDK.

COLORREF SetTextColor( 
   COLORREF clr  
);

Parameters

  • clr
    A COLORREF value that represents the new text color in the CReBarCtrl object.

Return Value

The COLORREF value representing the previous text color associated with the CReBarCtrl object.

Remarks

It is provided to support text color flexibility in a rebar control.

Requirements

Header: afxcmn.h

See Also

Reference

CReBarCtrl Class

Hierarchy Chart

CReBarCtrl::GetTextColor

Other Resources

CReBarCtrl Members