Dialog??
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
Just handle the WM_CLOSE message but don't call the base class's handler. You could also change the dialog style to not display the close button at all. -- Dana Holt Xenos Software
-
A better way is to handle
WM_SYSCOMMAND
and to do nothing (i.e. simply return) if the code isSC_CLOSE
. /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com