Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
BOOLSetTextBkColor(COLORREFcr**);**
Return Value
Nonzero if successful; otherwise zero.
Parameters
cr
A COLORREF specifying the new text background color. For information, see in the Platform SDK.
Remarks
Sets the background color of text in a list view control.
Example
// The pointer to my list view control.
extern CListCtrl* pmyListCtrl;
// Use the 3D button face color for the text background.
COLORREF crBkColor = ::GetSysColor(COLOR_3DFACE);
pmyListCtrl->SetTextBkColor(crBkColor);
ASSERT(pmyListCtrl->GetTextBkColor() == crBkColor);
CListCtrl Overview | Class Members | Hierarchy Chart
See Also CListCtrl::GetTextBkColor