COLORREF GetColor( ) const;
Return Value
The color of the selected font.
Remarks
Call this function to retrieve the selected font color.
Example
// Get the color of the selected font, if any.
CFontDialog dlg;
if (dlg.DoModal() == IDOK)
{
COLORREF color = dlg.GetColor();
TRACE("Color of the selected font = %8x\n", color);
}
CFontDialog Overview | Class Members | Hierarchy Chart
See Also CFontDialog::GetCurrentFont