|
-
May 21st, 1999, 01:16 AM
#1
WM_CLOSE does not function on a CPropertySheet window application !!!!! ????
Dear all,
I have made an application based on CPropertySheet window. It is working very well also. But in my property pages I have a lengthy process running in worker thread. While the thread is active and process is continuing, if somebody closes the window, the application exists silently. I need to get the information that user has pressed the close button(top right X button), because I want to warn the user and terminate the process before exit if he wishes. But when I mapped the WM_CLOSE on the property sheet it never worked ?!. Why?. I need an alert to be given before the window is deleted and hence the WM_DESTROY dont work. Please help?
Thanks and regards
Kareem.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|