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

C / C++ / MFC

 
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 
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 
Hello tomasz

I wasnt wrong
I clearly said that if the HFONT variable gets destroyed there is no problem as the CreateFont created front is still alive. I clearly said that for the font to be destroyed you need to call DeleteObject. But if you dont call DeleteObject your font is alive and well and you can forget about the HFONT variable

Nish
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 
AnswerRe: how to get mouse click function called on capture window Pin
Christian Graus25-Oct-01 20:57
protectorChristian Graus25-Oct-01 20:57 
GeneralDownloading Dialog box Pin
Gopi Krishna25-Oct-01 17:29
Gopi Krishna25-Oct-01 17:29 
QuestionHelp! Header Notification errors? Pin
Jim Crafton25-Oct-01 17:25
Jim Crafton25-Oct-01 17:25 

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.