Solved

What message is generated?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
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 user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

895 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

13 Experts available now in Live!

Get 1:1 Help Now