• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 298
  • Last Modified:

Quiting app ......................

Hai
 
I want to quit an MDI application after doing all cleanup process. We tried with PostQuitMessage, SendMessage with WM_QUIT, WM_DESTROY, WM_CLOSE. But nothing worked well.
Is there any other method to exit our application safely.
 
With Regards
Srinath
0
Munireddy
Asked:
Munireddy
1 Solution
 
vachoohoCommented:
AfxGetMainWnd()->SendMessage(WM_COMMAND, ID_APP_EXIT)

// ID_APP_EXIT  = 0xE141
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now