Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Multiple string table using Resource DLL Pin
Richard MacCutchan18-Nov-09 2:26
mveRichard MacCutchan18-Nov-09 2:26 
GeneralRe: Multiple string table using Resource DLL Pin
ParagPatel18-Nov-09 3:05
ParagPatel18-Nov-09 3:05 
GeneralRe: Multiple string table using Resource DLL Pin
Richard MacCutchan18-Nov-09 3:30
mveRichard MacCutchan18-Nov-09 3:30 
GeneralRe: Multiple string table using Resource DLL Pin
ParagPatel18-Nov-09 16:26
ParagPatel18-Nov-09 16:26 
GeneralRe: Multiple string table using Resource DLL Pin
Richard MacCutchan18-Nov-09 22:48
mveRichard MacCutchan18-Nov-09 22:48 
QuestionNot sending mail to outlook 2002+ Pin
Game-point18-Nov-09 0:40
Game-point18-Nov-09 0:40 
GeneralRe: Not sending mail to outlook 2002+ Pin
Richard MacCutchan18-Nov-09 0:56
mveRichard MacCutchan18-Nov-09 0:56 
GeneralRe: Not sending mail to outlook 2002+ Pin
Game-point18-Nov-09 1:06
Game-point18-Nov-09 1:06 
GeneralRe: Not sending mail to outlook 2002+ Pin
Richard MacCutchan18-Nov-09 1:48
mveRichard MacCutchan18-Nov-09 1:48 
QuestionCan a CPropertyPage be also shown as a standalone dialog? [modified] Pin
sashoalm17-Nov-09 23:21
sashoalm17-Nov-09 23:21 
QuestionRe: Can a CPropertyPage be also shown as a standalone dialog? Pin
David Crow18-Nov-09 3:26
David Crow18-Nov-09 3:26 
AnswerRe: Can a CPropertyPage be also shown as a standalone dialog? Pin
sashoalm18-Nov-09 5:30
sashoalm18-Nov-09 5:30 
Questiondear brother, can you help me? Pin
nenfa17-Nov-09 21:28
nenfa17-Nov-09 21:28 
AnswerRe: dear brother, can you help me? Pin
Richard MacCutchan17-Nov-09 21:44
mveRichard MacCutchan17-Nov-09 21:44 
AnswerRe: dear brother, can you help me? Pin
Code-o-mat17-Nov-09 21:51
Code-o-mat17-Nov-09 21:51 
GeneralRe: dear brother, can you help me? Pin
nenfa17-Nov-09 23:54
nenfa17-Nov-09 23:54 
GeneralRe: dear brother, can you help me? Pin
Code-o-mat18-Nov-09 0:07
Code-o-mat18-Nov-09 0:07 
GeneralRe: dear brother, can you help me? Pin
nenfa18-Nov-09 3:26
nenfa18-Nov-09 3:26 
QuestionFont Pin
john563217-Nov-09 20:50
john563217-Nov-09 20:50 
AnswerRe: Font Pin
Nuri Ismail17-Nov-09 21:35
Nuri Ismail17-Nov-09 21:35 
GeneralRe: Font Pin
john563217-Nov-09 21:47
john563217-Nov-09 21:47 
GeneralRe: Font [modified] Pin
Nuri Ismail17-Nov-09 22:39
Nuri Ismail17-Nov-09 22:39 
MPTP wrote:
But MSDN says "It is not recommended that you use DEFAULT_GUI_FONT or SYSTEM_FONT to obtain the font used by dialogs and windows".


Yes, that is why i said "You can use...". In your initial post have asked about default windows font, but in fact system uses several fonts: menu font, message box font, icon label font, caption font, status bar font...


MPTP wrote:
Then what to use?


For best precision you should use the SystemParametersInfo()[^] function with the SPI_GETNONCLIENTMETRICS parameter to retrieve the current font information.
This method will fill a NONCLIENTMETRICS[^] structure and you can check the:

LOGFONT lfCaptionFont;
LOGFONT lfSmCaptionFont;
LOGFONT lfMenuFont;
LOGFONT lfStatusFont;
LOGFONT lfMessageFont;


fields of this structure. I hope this helps! Smile | :)

Regards,
Nuri Ismail

modified on Wednesday, November 18, 2009 4:47 AM

AnswerRe: Font Pin
Code-o-mat17-Nov-09 21:38
Code-o-mat17-Nov-09 21:38 
AnswerRe: Font Pin
Randor 17-Nov-09 22:55
professional Randor 17-Nov-09 22:55 
QuestionVS6 to VS2008 Pin
john563217-Nov-09 20:31
john563217-Nov-09 20:31 

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.