Re: Closing app gracefully on windows shutdown
- From: Ian Semmel <isemmelNOJUNK@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 04 Jun 2006 05:19:46 +1000
I've always thought that a good option (ie optional) would be that instead of just a comment 'put your code here', would be to actually include commented code unique to the particular function with an example and/or explanation of what to do
Jan M wrote:
Hi,.
Update to my previous conclusion. If you disobey the MS wizard and put you
cleanup code in CYourFrameWnd::OnEndSession(bEnding) before calling
CFrameWnd::OnEndSession(bEnding) (which kills the app if bEnding = true) it
works. Dumb wizards!
Jan
- Follow-Ups:
- Re: Closing app gracefully on windows shutdown
- From: Joseph M . Newcomer
- Re: Closing app gracefully on windows shutdown
- References:
- Closing app gracefully on windows shutdown
- From: Jan M
- Re: Closing app gracefully on windows shutdown
- From: Dan Baker
- Re: Closing app gracefully on windows shutdown
- From: Jan M
- Re: Closing app gracefully on windows shutdown
- From: flect
- Re: Closing app gracefully on windows shutdown
- From: Joseph M . Newcomer
- Re: Closing app gracefully on windows shutdown
- From: flect
- Re: Closing app gracefully on windows shutdown
- From: Joseph M . Newcomer
- Re: Closing app gracefully on windows shutdown
- From: Jan M
- Closing app gracefully on windows shutdown
- Prev by Date: Re: how to set the margin of richedit control?
- Next by Date: Re: Difference between WM_APP and WM_USER
- Previous by thread: Re: Closing app gracefully on windows shutdown
- Next by thread: Re: Closing app gracefully on windows shutdown
- Index(es):