?
Solved

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

Posted on 1999-07-29
1
Medium Priority
?
293 Views
Last Modified: 2013-11-20
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
Comment
Question by:Munireddy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

by:
vachooho earned 90 total points
ID: 1311924
AfxGetMainWnd()->SendMessage(WM_COMMAND, ID_APP_EXIT)

// ID_APP_EXIT  = 0xE141
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question