Click here to Skip to main content
15,897,187 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: DrawTextEx not working properly when printing on Windows 98 Pin
Paul Vickery7-Oct-05 5:43
professionalPaul Vickery7-Oct-05 5:43 
GeneralRe: DrawTextEx not working properly when printing on Windows 98 Pin
KaЯl7-Oct-05 6:05
KaЯl7-Oct-05 6:05 
GeneralRe: DrawTextEx not working properly when printing on Windows 98 Pin
Paul Vickery9-Oct-05 23:02
professionalPaul Vickery9-Oct-05 23:02 
GeneralRe: DrawTextEx not working properly when printing on Windows 98 Pin
KaЯl9-Oct-05 23:24
KaЯl9-Oct-05 23:24 
GeneralRe: DrawTextEx not working properly when printing on Windows 98 Pin
Jack Puppy7-Oct-05 14:33
Jack Puppy7-Oct-05 14:33 
GeneralRe: DrawTextEx not working properly when printing on Windows 98 Pin
Paul Vickery9-Oct-05 22:56
professionalPaul Vickery9-Oct-05 22:56 
Questiongetting the font name Pin
FarPointer7-Oct-05 1:15
FarPointer7-Oct-05 1:15 
AnswerRe: getting the font name Pin
KaЯl7-Oct-05 1:47
KaЯl7-Oct-05 1:47 
You can use the ::GetStockObject function.

If using MFC, the code would be

LOGFONT logFont;
CFont *pFont = CFont::FromHandle((HFONT)::GetStockObject(SYSTEM_FONT));
// to get default font used for menus and dialog box, use DEFAULT_GUI_FONT
pFont->GetLogFont(&logFont);


HTH,

K.






The great error of nearly all studies of war has been to consider war as an episode in foreign policies, when it is an act of interior politics - Simone Weil
Fold with us! ¤ flickr

GeneralRe: getting the font name Pin
FarPointer7-Oct-05 5:54
FarPointer7-Oct-05 5:54 
QuestionAbout CDatabase : Plz Help : Urgent Pin
parims7-Oct-05 0:24
parims7-Oct-05 0:24 
QuestionRe: About CDatabase : Plz Help : Urgent Pin
David Crow7-Oct-05 3:19
David Crow7-Oct-05 3:19 
QuestionHow to Configure Windows Update Pin
Girish6017-Oct-05 0:16
Girish6017-Oct-05 0:16 
QuestionRe: How to Configure Windows Update Pin
David Crow7-Oct-05 3:34
David Crow7-Oct-05 3:34 
AnswerRe: How to Configure Windows Update Pin
Girish6017-Oct-05 20:09
Girish6017-Oct-05 20:09 
GeneralRe: How to Configure Windows Update Pin
David Crow10-Oct-05 2:56
David Crow10-Oct-05 2:56 
GeneralRe: How to Configure Windows Update Pin
Girish60110-Oct-05 4:23
Girish60110-Oct-05 4:23 
QuestionRe: How to Configure Windows Update Pin
David Crow10-Oct-05 4:30
David Crow10-Oct-05 4:30 
AnswerRe: How to Configure Windows Update Pin
Girish60110-Oct-05 5:00
Girish60110-Oct-05 5:00 
QuestionClass not visible Pin
billiam9046-Oct-05 23:27
billiam9046-Oct-05 23:27 
AnswerRe: Class not visible Pin
Colonel Walter E. Kurtz6-Oct-05 23:42
Colonel Walter E. Kurtz6-Oct-05 23:42 
GeneralRe: Class not visible Pin
billiam9047-Oct-05 0:17
billiam9047-Oct-05 0:17 
AnswerRe: Class not visible Pin
toxcct7-Oct-05 0:28
toxcct7-Oct-05 0:28 
GeneralRe: Class not visible Pin
Anonymous7-Oct-05 3:13
Anonymous7-Oct-05 3:13 
GeneralRe: Class not visible Pin
Colonel Walter E. Kurtz7-Oct-05 0:35
Colonel Walter E. Kurtz7-Oct-05 0:35 
GeneralRe: Class not visible Pin
toxcct7-Oct-05 1:28
toxcct7-Oct-05 1:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.