Click here to Skip to main content
15,910,009 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need tools / techniques for tracing GDI leakage Pin
Christian Graus16-Oct-01 12:56
protectorChristian Graus16-Oct-01 12:56 
GeneralRe: Need tools / techniques for tracing GDI leakage Pin
Jase Jennings16-Oct-01 21:55
Jase Jennings16-Oct-01 21:55 
GeneralRe: Need tools / techniques for tracing GDI leakage Pin
James Spibey1-Nov-01 0:21
James Spibey1-Nov-01 0:21 
GeneralTransparent button disable other functions :( Pin
16-Oct-01 2:09
suss16-Oct-01 2:09 
GeneralRe: Transparent button disable other functions :( Pin
RobJones16-Oct-01 9:35
RobJones16-Oct-01 9:35 
GeneralSOS: changing fonts of controls in dialog Pin
tfElep15-Oct-01 23:28
tfElep15-Oct-01 23:28 
GeneralRe: SOS: changing fonts of controls in dialog Pin
Michael Martin16-Oct-01 1:33
professionalMichael Martin16-Oct-01 1:33 
GeneralRe: SOS: changing fonts of controls in dialog Pin
Tomasz Sowinski16-Oct-01 1:34
Tomasz Sowinski16-Oct-01 1:34 
Yes, the font variable lifetime should be longer. Just make it a data member of CYourDialog - no need for malloc or new.

LOGFONT is needed only to call CreateFontIndirect. It can be a local variable.

Have no idea why your app changes the systemwide settings - does this happen only if you call CWnd::SetFont?

Tomasz Sowinski -- http://www.shooltz.com
GeneralFocus problem Pin
Nick Armstrong15-Oct-01 22:48
Nick Armstrong15-Oct-01 22:48 
GeneralRe: Focus problem Pin
Tomasz Sowinski16-Oct-01 1:28
Tomasz Sowinski16-Oct-01 1:28 
GeneralRe: Focus problem Pin
Nick Armstrong17-Oct-01 1:25
Nick Armstrong17-Oct-01 1:25 
QuestionDifference between New and Malloc ? Pin
15-Oct-01 22:40
suss15-Oct-01 22:40 
AnswerRe: Difference between New and Malloc ? Pin
markkuk16-Oct-01 1:04
markkuk16-Oct-01 1:04 
GeneralRe: Difference between New and Malloc ? Pin
Tomasz Sowinski16-Oct-01 1:21
Tomasz Sowinski16-Oct-01 1:21 
AnswerRe: Difference between New and Malloc ? Pin
Tomasz Sowinski16-Oct-01 1:10
Tomasz Sowinski16-Oct-01 1:10 
GeneralRe: Difference between New and Malloc ? Pin
16-Oct-01 5:53
suss16-Oct-01 5:53 
AnswerRe: found out the problem Pin
yarp16-Oct-01 8:31
yarp16-Oct-01 8:31 
GeneralRegister my OLE/COM object Pin
15-Oct-01 22:00
suss15-Oct-01 22:00 
GeneralRe: Register my OLE/COM object Pin
Christian Graus15-Oct-01 22:45
protectorChristian Graus15-Oct-01 22:45 
Generalthank you ! Can you explain me some things ? Pin
15-Oct-01 23:18
suss15-Oct-01 23:18 
GeneralRe: thank you ! Can you explain me some things ? Pin
Christian Graus15-Oct-01 23:46
protectorChristian Graus15-Oct-01 23:46 
GeneralRegister my OLE/COM object Pin
15-Oct-01 23:40
suss15-Oct-01 23:40 
GeneralRe: Register my OLE/COM object Pin
Christian Graus16-Oct-01 0:20
protectorChristian Graus16-Oct-01 0:20 
Generalexcuse me ! It was stupid ! but- Pin
16-Oct-01 0:36
suss16-Oct-01 0:36 
GeneralRe: excuse me ! It was stupid ! but- Pin
Michael P Butler16-Oct-01 0:43
Michael P Butler16-Oct-01 0:43 

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.