Solved

What message is generated?

Posted on 1998-10-05
2
159 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 20 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

803 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