Solved

Exit

Posted on 1998-09-11
2
231 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

733 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