Solved

What message is generated?

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
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 be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

759 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

23 Experts available now in Live!

Get 1:1 Help Now