Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

What message is generated?

Posted on 1998-10-05
2
Medium Priority
?
165 Views
Last Modified: 2010-04-02
When you click the button which is in the rightmost of caption bar
(there are minimaze button, maximize button, and this button-the shape of 'x'),
what message is generated and what handler is called?
Thank you in advance.
0
Comment
Question by:jaewoo082098
  • 2
2 Comments
 
LVL 6

Accepted Solution

by:
thresher_shark earned 80 total points
ID: 1174518
Answer coming....
0
 
LVL 6

Expert Comment

by:thresher_shark
ID: 1174519
The message that is generated is WM_CLOSE.  It is usually intercepted to prevent the program from closing when that button is pressed (although I suppose you could do something else with it).

What compiler are you using?  I might be able to help you better if I knew.

Also, if you have any further questions, please feel free to ask them.  Thanks!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses

581 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