Solved

Exit

Posted on 1998-09-11
2
219 Views
Last Modified: 2013-11-20
How can I exit the program(itself) ?

Andrew
0
Comment
Question by:andrewyu
2 Comments
 
LVL 1

Accepted Solution

by:
sunj earned 20 total points
ID: 1322092
I assume your program is windows program. There are actually a lot of ways. One simple way maybe to post a WM_CLOSE message.
0
 

Author Comment

by:andrewyu
ID: 1322093
I think it is a very good way, but, I want to know is there any function in MFC that I can call to achieve that target ?

Andrew
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Pressing cancel button with C# UI Automation 3 51
twoTwo  challenge 35 93
canBalance challenge 34 70
Is there a simple front-end menu system. 9 71
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

867 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now