CFontDialog::GetColor
선택한 글꼴 색을 검색 하려면이 함수를 호출 합니다.
COLORREF GetColor( ) const;
반환 값
선택한 글꼴의 색입니다.
예제
// Get the color of the selected font, if any.
CFontDialog dlg;
if (dlg.DoModal() == IDOK)
{
COLORREF color = dlg.GetColor();
TRACE(_T("Color of the selected font = %8x\n"), color);
}
요구 사항
헤더: afxdlgs.h