Click here to Skip to main content
15,889,335 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WM_KEYDOWN on Non-MFC Dialog Pin
Rajesh R Subramanian21-May-07 20:26
professionalRajesh R Subramanian21-May-07 20:26 
GeneralRe: WM_KEYDOWN on Non-MFC Dialog Pin
CPallini21-May-07 5:49
mveCPallini21-May-07 5:49 
QuestionCFont clean-up Pin
Tara1421-May-07 4:24
Tara1421-May-07 4:24 
AnswerRe: CFont clean-up Pin
Mark Salsbery21-May-07 5:13
Mark Salsbery21-May-07 5:13 
QuestionRe: CFont clean-up Pin
CPallini21-May-07 5:55
mveCPallini21-May-07 5:55 
AnswerRe: CFont clean-up Pin
Mark Salsbery21-May-07 6:01
Mark Salsbery21-May-07 6:01 
GeneralRe: CFont clean-up Pin
CPallini21-May-07 20:36
mveCPallini21-May-07 20:36 
GeneralRe: CFont clean-up Pin
Mark Salsbery22-May-07 3:48
Mark Salsbery22-May-07 3:48 
CPallini wrote:
BTW this MS sample made me wondering about


That's cool. The OP created his/hers with new so I chose delete as an idea Smile | :)

For a local object, DeleteObject is great to free the HGDIOBJ when you no longer need it.
When the CFont goes out of scope, it will be freed as well.

Cheers!
Mark




"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

AnswerRe: CFont clean-up Pin
Stephen Hewitt21-May-07 16:47
Stephen Hewitt21-May-07 16:47 
GeneralRe: CFont clean-up Pin
CPallini21-May-07 20:41
mveCPallini21-May-07 20:41 
GeneralRe: CFont clean-up Pin
Stephen Hewitt21-May-07 20:50
Stephen Hewitt21-May-07 20:50 
GeneralRe: CFont clean-up Pin
CPallini21-May-07 20:57
mveCPallini21-May-07 20:57 
GeneralRe: CFont clean-up Pin
Stephen Hewitt21-May-07 21:05
Stephen Hewitt21-May-07 21:05 
GeneralRe: CFont clean-up Pin
CPallini21-May-07 21:07
mveCPallini21-May-07 21:07 
QuestionLooking for C++ developpers ASAP Pin
Guy Lecomte21-May-07 4:14
Guy Lecomte21-May-07 4:14 
AnswerRe: Looking for C++ developpers ASAP Pin
Tara1421-May-07 4:26
Tara1421-May-07 4:26 
AnswerRe: Looking for C++ developpers ASAP Pin
sthotakura21-May-07 10:47
sthotakura21-May-07 10:47 
QuestionDirectX & problem with multimonitor... Pin
ilFrate21-May-07 3:48
ilFrate21-May-07 3:48 
Questionfinal loop Pin
klutez12321-May-07 3:02
klutez12321-May-07 3:02 
AnswerRe: final loop Pin
Hans Dietrich21-May-07 3:13
mentorHans Dietrich21-May-07 3:13 
AnswerRe: final loop Pin
David Crow21-May-07 3:15
David Crow21-May-07 3:15 
AnswerRe: final loop Pin
Stephen Hewitt21-May-07 14:46
Stephen Hewitt21-May-07 14:46 
QuestionRe: final loop Pin
Nelek21-May-07 19:55
protectorNelek21-May-07 19:55 
AnswerRe: final loop Pin
Stephen Hewitt22-May-07 14:16
Stephen Hewitt22-May-07 14:16 
GeneralRe: final loop Pin
Nelek23-May-07 21:09
protectorNelek23-May-07 21:09 

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.