int = SetTextColor(color)
Sets the text color to the specified color.
CommentsThis text color is used 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.
Return ValueThe return value is the previous text color.