Click here to Skip to main content
15,896,154 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to change the caption of a dialog at run time ?? Pin
25-Oct-01 22:43
suss25-Oct-01 22:43 
AnswerRe: How to change the caption of a dialog at run time ?? Pin
Christian Graus25-Oct-01 22:44
protectorChristian Graus25-Oct-01 22:44 
AnswerThanx Pin
adara25-Oct-01 23:15
adara25-Oct-01 23:15 
GeneralSetting a window's font Pin
James Bird25-Oct-01 21:44
James Bird25-Oct-01 21:44 
GeneralRe: Setting a window's font Pin
Nish Nishant25-Oct-01 23:39
sitebuilderNish Nishant25-Oct-01 23:39 
GeneralRe: Setting a window's font Pin
Christian Graus25-Oct-01 23:42
protectorChristian Graus25-Oct-01 23:42 
GeneralRe: Setting a window's font Pin
Nish Nishant26-Oct-01 0:01
sitebuilderNish Nishant26-Oct-01 0:01 
GeneralRe: Setting a window's font Pin
Tomasz Sowinski26-Oct-01 0:03
Tomasz Sowinski26-Oct-01 0:03 
Are you sure that lifetime of HFONT is long enough? You can't just pass a HFONT to a Window with WM_SETFONT and destroy the font - the window doesn't copy the font.

The second thing is that not all Windows support this message. Standard controls do, but your own Window classes do not unless you explicitly handle this message.

Tomasz Sowinski -- http://www.shooltz.com
GeneralRe: Setting a window's font Pin
Nish Nishant26-Oct-01 0:09
sitebuilderNish Nishant26-Oct-01 0:09 
GeneralRe: Setting a window's font Pin
Tomasz Sowinski26-Oct-01 0:17
Tomasz Sowinski26-Oct-01 0:17 
GeneralRe: Setting a window's font Pin
Nish Nishant26-Oct-01 0:23
sitebuilderNish Nishant26-Oct-01 0:23 
GeneralRe: Setting a window's font Pin
Tomasz Sowinski26-Oct-01 0:25
Tomasz Sowinski26-Oct-01 0:25 
GeneralRe: Setting a window's font Pin
Nish Nishant26-Oct-01 0:30
sitebuilderNish Nishant26-Oct-01 0:30 
GeneralRe: Setting a window's font Pin
Tomasz Sowinski26-Oct-01 0:40
Tomasz Sowinski26-Oct-01 0:40 
GeneralRe: Setting a window's font Pin
Nish Nishant26-Oct-01 0:43
sitebuilderNish Nishant26-Oct-01 0:43 
GeneralRe: Setting a window's font Pin
Christian Graus26-Oct-01 2:10
protectorChristian Graus26-Oct-01 2:10 
QuestionHow to detect that a user has logged in (Service & NT) Pin
EiSl25-Oct-01 21:10
EiSl25-Oct-01 21:10 
AnswerRe: How to detect that a user has logged in (Service & NT) Pin
Nish Nishant25-Oct-01 23:41
sitebuilderNish Nishant25-Oct-01 23:41 
AnswerRe: How to detect that a user has logged in (Service & NT) Pin
Tomasz Sowinski25-Oct-01 23:54
Tomasz Sowinski25-Oct-01 23:54 
GeneralLocalization Pin
ZAZA25-Oct-01 20:27
ZAZA25-Oct-01 20:27 
GeneralC++ templates Pin
Jim Crafton25-Oct-01 20:05
Jim Crafton25-Oct-01 20:05 
GeneralRe: C++ templates Pin
Michael Dunn25-Oct-01 21:00
sitebuilderMichael Dunn25-Oct-01 21:00 
GeneralCancel WaitCommEvent for non-overlapped IO Pin
25-Oct-01 19:53
suss25-Oct-01 19:53 
GeneralRe: Cancel WaitCommEvent for non-overlapped IO Pin
Colin Urquhart28-Oct-01 13:02
Colin Urquhart28-Oct-01 13:02 
Questionhow to get mouse click function called on capture window Pin
25-Oct-01 19:39
suss25-Oct-01 19:39 

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.