Click here to Skip to main content
15,917,859 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionvs2005 migration issue Pin
sdfkfggh13-Jan-07 4:35
sdfkfggh13-Jan-07 4:35 
AnswerRe: vs2005 migration issue Pin
sdfkfggh13-Jan-07 5:14
sdfkfggh13-Jan-07 5:14 
GeneralRe: vs2005 migration issue Pin
Hamid_RT15-Jan-07 6:48
Hamid_RT15-Jan-07 6:48 
QuestionIs Transition to .NET The general trend? Pin
YoungYong, Park13-Jan-07 3:03
YoungYong, Park13-Jan-07 3:03 
AnswerRe: Is Transition to .NET The general trend? Pin
#realJSOP13-Jan-07 3:25
professional#realJSOP13-Jan-07 3:25 
QuestionHow to put the contain of textBox that related in button event to database access Pin
arif_setyawan13-Jan-07 2:33
arif_setyawan13-Jan-07 2:33 
AnswerRe: How to put the contain of textBox that related in button event to database access Pin
Hamid_RT15-Jan-07 6:47
Hamid_RT15-Jan-07 6:47 
QuestionXFS API Pin
Ghous Ahmed13-Jan-07 2:33
Ghous Ahmed13-Jan-07 2:33 
AnswerRe: XFS API Pin
Hamid_RT13-Jan-07 2:41
Hamid_RT13-Jan-07 2:41 
AnswerRe: XFS API Pin
viewman4-Jul-12 20:54
viewman4-Jul-12 20:54 
Questionhow to retrieve the application running in a remote computer? Pin
vedhapsg12-Jan-07 22:51
vedhapsg12-Jan-07 22:51 
AnswerRe: how to retrieve the application running in a remote computer? Pin
Don Box12-Jan-07 22:58
Don Box12-Jan-07 22:58 
GeneralRe: how to retrieve the application running in a remote computer? Pin
vedhapsg12-Jan-07 23:09
vedhapsg12-Jan-07 23:09 
AnswerRe: how to retrieve the application running in a remote computer? Pin
Cristian Amarie13-Jan-07 4:29
Cristian Amarie13-Jan-07 4:29 
QuestionOnClose Call Multiple Times Pin
User 1278212-Jan-07 21:16
User 1278212-Jan-07 21:16 
AnswerRe: OnClose Call Multiple Times Pin
CPallini12-Jan-07 21:48
mveCPallini12-Jan-07 21:48 
AnswerRe: OnClose Call Multiple Times Pin
Hadi Dayvary12-Jan-07 21:49
professionalHadi Dayvary12-Jan-07 21:49 
GeneralRe: OnClose Call Multiple Times Pin
#realJSOP12-Jan-07 23:39
professional#realJSOP12-Jan-07 23:39 
AnswerRe: OnClose Call Multiple Times Pin
Don Box12-Jan-07 22:09
Don Box12-Jan-07 22:09 
AnswerRe: OnClose Call Multiple Times Pin
#realJSOP12-Jan-07 23:53
professional#realJSOP12-Jan-07 23:53 
Are you putting the OnClose handler in each view or in CMainFrame?

If it's just in CMainFrame, it will only be called once. If it's in your view class, it will be called for every instance of your view object.

If you're cleaning up poointers that are global to your app or that are instantiate in your app or mainframe class, you should handle the OnClose only in CMainFrame. If you need to cleanup pointers that are local to your view object, you need to handle OnClose in the view as well.




"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


GeneralRe: OnClose Call Multiple Times Pin
User 1278217-Jan-07 10:31
User 1278217-Jan-07 10:31 
AnswerRe: OnClose Call Multiple Times Pin
Gary R. Wheeler13-Jan-07 2:52
Gary R. Wheeler13-Jan-07 2:52 
GeneralRe: OnClose Call Multiple Times Pin
#realJSOP13-Jan-07 3:31
professional#realJSOP13-Jan-07 3:31 
GeneralRe: OnClose Call Multiple Times Pin
Gary R. Wheeler13-Jan-07 4:02
Gary R. Wheeler13-Jan-07 4:02 
QuestionHow to change the Dialog's caption Pin
Mushtaque Nizamani12-Jan-07 19:59
Mushtaque Nizamani12-Jan-07 19:59 

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.