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.
virtualCOLORREFSetTextColor(COLORREFcrColor**);**
Return Value
An RGB value for the previous text color.
Parameters
crColor
Specifies the color of the text as an RGB color value.
Remarks
Sets the text color to the specified color. The system will use this text color when writing text to this device context and also when converting bitmaps between color and monochrome device contexts.
If the device cannot represent the specified color, the system sets the text color to the nearest physical color. The background color for a character is specified by the SetBkColor and SetBkMode member functions.
Example
See the example for CWnd::OnCtlColor.
CDC Overview | Class Members | Hierarchy Chart
See Also CDC::GetTextColor, CDC::BitBlt, CDC::SetBkColor, CDC::SetBkMode,