Solved

Exit

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
how to monitor remote shell execution on linux 9 93
sum67 challenge 35 89
has22 challenge 11 72
sumHeights2  challenge 7 78
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

747 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

11 Experts available now in Live!

Get 1:1 Help Now