R
Rikkert
I can't get my custom-made modeless dialog box (Visual C++.net Win32)
to respond to clicking the close button or pressing Alt-F4.
I am using the IsDialogMessage to check if messages are for my dialog.
However, my dialog procedure doesn't seem to get a WM_DESTROY message
when I click the close button. Also, pressing Alt-F4 does not close my
application when the dialog has focus (it does terminate when my main
window or another child of the main window has focus).
Btw I am not using any MFC.
Anyone knows the solution to this problem?
Any help is greatly appreciated!
Rikkert
(PS: could it have something to do with the WS_EX_NOPARENTNOTIFY style
set when using dialog box templates?)
to respond to clicking the close button or pressing Alt-F4.
I am using the IsDialogMessage to check if messages are for my dialog.
However, my dialog procedure doesn't seem to get a WM_DESTROY message
when I click the close button. Also, pressing Alt-F4 does not close my
application when the dialog has focus (it does terminate when my main
window or another child of the main window has focus).
Btw I am not using any MFC.
Anyone knows the solution to this problem?
Any help is greatly appreciated!
Rikkert
(PS: could it have something to do with the WS_EX_NOPARENTNOTIFY style
set when using dialog box templates?)