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
Solved

Exit

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
cat dog challenge 18 127
Expand LInux Boot partition remotly 3 96
Expand to include initial dialog with two choices. 9 80
Unix Command -- Challenging  question 7 96
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 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