Click here to Skip to main content
16,004,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Menu in a dialog window ? Pin
18-Jun-01 10:42
suss18-Jun-01 10:42 
AnswerRe: Menu in a dialog window ? Pin
Carlos Antollini18-Jun-01 11:01
Carlos Antollini18-Jun-01 11:01 
AnswerIt's working fine now ! Thanks a lot !!! Pin
20-Jun-01 6:40
suss20-Jun-01 6:40 
Generalcustom cursor Pin
18-Jun-01 8:11
suss18-Jun-01 8:11 
GeneralRe: custom cursor Pin
Tomasz Sowinski18-Jun-01 8:19
Tomasz Sowinski18-Jun-01 8:19 
GeneralRe: custom cursor Pin
18-Jun-01 9:16
suss18-Jun-01 9:16 
GeneralRe: custom cursor Pin
Tomasz Sowinski18-Jun-01 9:24
Tomasz Sowinski18-Jun-01 9:24 
QuestionNT...Win9X...problem.....memory leak??? Pin
18-Jun-01 7:01
suss18-Jun-01 7:01 
Hi,

Thanks for all of your reply about my question before. THANK YOU VERY MUCH!!!!

I try to keep posting my question, so that someone new can see this question and tell me how to fix it....

My major problem is: I have a program that was implemented in NT before and now want to transfer to Win9x. Everything is fine in NT, but in Win9x after the program has run for awhile, the output font change...include the system message box ( i know it because there is a message box ask me to terminate the program..haha..)......but it takes awhile to see the problem........when i do drawing....the problem happened immediately.....( not just draw a line......but a heavy drawing....).....cannot display colour....etc...

I posted this question in codeproject.....and many people told me it would be a GDI resource leak....but i don't know how to fix it....

Oh...give you more backgrounds......it is a program using MFC...........and has a CDC global pointer to let other files to do drawing too...(not in view.cpp only....).....I'm just used some liked CPen or CBrush...then selectobject.....then something liked LineTo or MoveTo.....

Thanks for your help.....

Richard
AnswerRe: NT...Win9X...problem.....memory leak??? Pin
Tomasz Sowinski18-Jun-01 7:10
Tomasz Sowinski18-Jun-01 7:10 
GeneralRe: NT...Win9X...problem.....memory leak??? Pin
Richard Cheng18-Jun-01 7:17
Richard Cheng18-Jun-01 7:17 
GeneralSerial Port. Pin
John Uhlenbrock18-Jun-01 6:33
John Uhlenbrock18-Jun-01 6:33 
GeneralAnother couple questions... Pin
John Uhlenbrock18-Jun-01 6:39
John Uhlenbrock18-Jun-01 6:39 
GeneralRe: Serial Port. Pin
D.D. de Kerf18-Jun-01 20:40
D.D. de Kerf18-Jun-01 20:40 
GeneralFile formats source code Pin
18-Jun-01 6:14
suss18-Jun-01 6:14 
GeneralRe: File formats source code Pin
Chris Losinger18-Jun-01 6:34
professionalChris Losinger18-Jun-01 6:34 
GeneralRe: File formats source code Pin
18-Jun-01 6:56
suss18-Jun-01 6:56 
GeneralRe: File formats source code Pin
19-Jun-01 0:39
suss19-Jun-01 0:39 
GeneralRe: File formats source code Pin
markkuk19-Jun-01 21:28
markkuk19-Jun-01 21:28 
GeneralRe: File formats source code Pin
20-Jun-01 2:39
suss20-Jun-01 2:39 
GeneralRe: File formats source code Pin
20-Jun-01 3:28
suss20-Jun-01 3:28 
QuestionHow to check if CD-Tray is open? Pin
18-Jun-01 5:56
suss18-Jun-01 5:56 
Generalq 70-016 Pin
18-Jun-01 4:53
suss18-Jun-01 4:53 
Generalaccessing files Pin
18-Jun-01 4:42
suss18-Jun-01 4:42 
GeneralRe: accessing files Pin
John Uhlenbrock18-Jun-01 6:51
John Uhlenbrock18-Jun-01 6:51 
GeneralRe: accessing files Pin
Michael Dunn18-Jun-01 6:51
sitebuilderMichael Dunn18-Jun-01 6:51 

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.