Click here to Skip to main content
15,914,322 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Change Window Color Pin
WayneK1009-Aug-07 5:17
WayneK1009-Aug-07 5:17 
GeneralRe: Change Window Color Pin
Mark Salsbery9-Aug-07 5:45
Mark Salsbery9-Aug-07 5:45 
GeneralRe: Change Window Color Pin
Mark Salsbery9-Aug-07 5:47
Mark Salsbery9-Aug-07 5:47 
GeneralRe: Change Window Color Pin
WayneK10010-Aug-07 5:01
WayneK10010-Aug-07 5:01 
GeneralRe: Change Window Color Pin
Mark Salsbery10-Aug-07 5:50
Mark Salsbery10-Aug-07 5:50 
GeneralRe: Change Window Color Pin
WayneK10010-Aug-07 6:19
WayneK10010-Aug-07 6:19 
GeneralRe: Change Window Color [modified] Pin
Mark Salsbery10-Aug-07 6:32
Mark Salsbery10-Aug-07 6:32 
GeneralRe: Change Window Color Pin
WayneK10010-Aug-07 8:44
WayneK10010-Aug-07 8:44 
Is there an easy to specify the font size without getting buried in the science of font attributes? I created the font this way and played with the height but it seems to be ignored. No matter what I set the height to there is no change. All I need to do is use some standard font and adjust the size to fit my needs.

Font2.CreateFont(500, // nHeight
0, // nWidth
0, // nEscapement
0, // nOrientation
FW_NORMAL, // nWeight
FALSE, // bItalic
FALSE, // bUnderline
0, // cStrikeOut
ANSI_CHARSET, // nCharSet
OUT_DEFAULT_PRECIS, // nOutPrecision
CLIP_DEFAULT_PRECIS, // nClipPrecision
DEFAULT_QUALITY, // nQuality
FIXED_PITCH | FF_SWISS, // nPitchAndFamily
"Arial");


Wayne
GeneralRe: Change Window Color Pin
Mark Salsbery10-Aug-07 9:50
Mark Salsbery10-Aug-07 9:50 
AnswerRe: Change Window Color Pin
Nishad S8-Aug-07 18:40
Nishad S8-Aug-07 18:40 
AnswerRe: Change Window Color Pin
Hamid_RT8-Aug-07 19:19
Hamid_RT8-Aug-07 19:19 
QuestionWhy I can't bring focus to IE browser created thru createprocess Pin
sdittmer8-Aug-07 12:54
sdittmer8-Aug-07 12:54 
AnswerRe: Why I can't bring focus to IE browser created thru createprocess Pin
Mark Salsbery8-Aug-07 13:05
Mark Salsbery8-Aug-07 13:05 
GeneralRe: Why I can't bring focus to IE browser created thru createprocess Pin
sdittmer8-Aug-07 14:37
sdittmer8-Aug-07 14:37 
QuestionThread function parameter Pin
alberthyc8-Aug-07 10:31
alberthyc8-Aug-07 10:31 
AnswerRe: Thread function parameter Pin
koumodaki8-Aug-07 10:41
koumodaki8-Aug-07 10:41 
GeneralRe: Thread function parameter Pin
alberthyc8-Aug-07 11:08
alberthyc8-Aug-07 11:08 
GeneralRe: Thread function parameter [modified] Pin
alberthyc8-Aug-07 11:21
alberthyc8-Aug-07 11:21 
GeneralRe: Thread function parameter Pin
Nishad S8-Aug-07 18:45
Nishad S8-Aug-07 18:45 
QuestionSetting multile line text in a document Pin
koumodaki8-Aug-07 10:23
koumodaki8-Aug-07 10:23 
AnswerRe: Setting multile line text in a document Pin
Reagan Conservative8-Aug-07 11:18
Reagan Conservative8-Aug-07 11:18 
AnswerRe: Setting multile line text in a document Pin
fefe.wyx8-Aug-07 14:58
fefe.wyx8-Aug-07 14:58 
QuestionWhy my MDI application closes when I close a dialog box inside? Pin
saravana0018-Aug-07 7:51
saravana0018-Aug-07 7:51 
AnswerRe: Why my MDI application closes when I close a dialog box inside? Pin
Russell'8-Aug-07 8:10
Russell'8-Aug-07 8:10 
AnswerRe: Why my MDI application closes when I close a dialog box inside? Pin
jk chan8-Aug-07 17:41
jk chan8-Aug-07 17:41 

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.