Change Font of caption of dialog box ??
-
How to change font of caption of a MFC dialog box ?? Any idea? Ana Keywords Font Caption of Dialog Box, Caption Font of Dialog Box, Dialog Box Caption Font
u could try the following CFont font; font.CreateFont(0,0,0,0,FW_NORMAL,FALSE,FALSE,0,ANSI_CHARSET,OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,DEFAULT_PITCH | FF_SWISS,"MS Shell Dlg"); ((CEdit*)GetDlgItem(IDC_EDIT1))->SetFont(&font); this will change the font in that particular edit box
-
u could try the following CFont font; font.CreateFont(0,0,0,0,FW_NORMAL,FALSE,FALSE,0,ANSI_CHARSET,OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,DEFAULT_PITCH | FF_SWISS,"MS Shell Dlg"); ((CEdit*)GetDlgItem(IDC_EDIT1))->SetFont(&font); this will change the font in that particular edit box