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

C / C++ / MFC

 
GeneralRe: CMDIChildWnd maximizing and merging with main window Pin
Iain Clarke, Warrior Programmer25-Feb-09 21:53
Iain Clarke, Warrior Programmer25-Feb-09 21:53 
GeneralRe: CMDIChildWnd maximizing and merging with main window Pin
prithaa25-Feb-09 22:12
prithaa25-Feb-09 22:12 
GeneralRe: CMDIChildWnd maximizing and merging with main window Pin
Iain Clarke, Warrior Programmer25-Feb-09 22:23
Iain Clarke, Warrior Programmer25-Feb-09 22:23 
GeneralRe: CMDIChildWnd maximizing and merging with main window Pin
prithaa25-Feb-09 22:33
prithaa25-Feb-09 22:33 
QuestionWhy is TCP/IP Faster than Shared Memory Pin
Steve Thresher25-Feb-09 4:18
Steve Thresher25-Feb-09 4:18 
AnswerRe: Why is TCP/IP Faster than Shared Memory Pin
Richard Andrew x6425-Feb-09 13:51
professionalRichard Andrew x6425-Feb-09 13:51 
GeneralRe: Why is TCP/IP Faster than Shared Memory Pin
Steve Thresher25-Feb-09 21:42
Steve Thresher25-Feb-09 21:42 
Questionobject life cycle question Pin
tyr200025-Feb-09 3:01
tyr200025-Feb-09 3:01 
I am making a project depending on mfc. in this project ,i created a object(here named it xobj) ,which is defined by myself, in the cmainwnd object construction, and destructed it in the cmainwnd object destruction. but in one cmainwnd object member function,i created a thread and also pass the pointer of the xobj into the thread. When the application is closed, destruction of cmainwnd object is called so as the xobj destruction,but at some time the thread is not end ,it still has the pointer of the xobj which means nothing now.
How to solve this?
I have tried the event,I made the del xobj wait until the thread is end in the destruction of cmainwnd object.but it seems not work.why?
AnswerRe: object life cycle question Pin
Cedric Moonen25-Feb-09 3:03
Cedric Moonen25-Feb-09 3:03 
GeneralRe: object life cycle question Pin
tyr200025-Feb-09 3:11
tyr200025-Feb-09 3:11 
GeneralRe: object life cycle question Pin
Cedric Moonen25-Feb-09 3:15
Cedric Moonen25-Feb-09 3:15 
GeneralRe: object life cycle question Pin
tyr200025-Feb-09 3:23
tyr200025-Feb-09 3:23 
GeneralRe: object life cycle question Pin
Cedric Moonen25-Feb-09 3:29
Cedric Moonen25-Feb-09 3:29 
GeneralRe: object life cycle question Pin
tyr200025-Feb-09 3:34
tyr200025-Feb-09 3:34 
Question[OT] Re: object life cycle question Pin
David Crow25-Feb-09 6:19
David Crow25-Feb-09 6:19 
AnswerRe: [OT] Re: object life cycle question Pin
tyr200025-Feb-09 13:01
tyr200025-Feb-09 13:01 
GeneralRe: object life cycle question Pin
tyr200025-Feb-09 13:32
tyr200025-Feb-09 13:32 
GeneralRe: object life cycle question Pin
Maximilien25-Feb-09 3:46
Maximilien25-Feb-09 3:46 
GeneralRe: object life cycle question Pin
David Crow25-Feb-09 6:18
David Crow25-Feb-09 6:18 
GeneralRe: object life cycle question Pin
tyr200025-Feb-09 13:14
tyr200025-Feb-09 13:14 
AnswerRe: object life cycle question Pin
Stuart Dootson25-Feb-09 8:55
professionalStuart Dootson25-Feb-09 8:55 
GeneralRe: object life cycle question Pin
tyr200025-Feb-09 13:12
tyr200025-Feb-09 13:12 
GeneralRe: object life cycle question Pin
Stuart Dootson25-Feb-09 15:14
professionalStuart Dootson25-Feb-09 15:14 
QuestionHow to enabling CMainFrame to have the cursor when the application starts Pin
susanne125-Feb-09 2:48
susanne125-Feb-09 2:48 
AnswerRe: How to enabling CMainFrame to have the cursor when the application starts Pin
Sarath C25-Feb-09 3:04
Sarath C25-Feb-09 3:04 

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.