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.
BOOLSetTextColor(COLORREFcr**);**
Return Value
Nonzero if successful; otherwise zero.
Parameters
cr
A COLORREF specifying the new text color. For information, see in the Platform SDK.
Remarks
Sets the text color of a list view control.
Example
// The pointer to my list view control.
extern CListCtrl* pmyListCtrl;
// Use the window text color for
// the item text of the list view control.
COLORREF crTextColor = ::GetSysColor(COLOR_WINDOWTEXT);
pmyListCtrl->SetTextColor(crTextColor);
ASSERT(pmyListCtrl->GetTextColor() == crTextColor);
CListCtrl Overview | Class Members | Hierarchy Chart
See Also CListCtrl::SetTextBkColor