Modal Child of a modeless dialog donot hide
-
Main window of my SDI application generates a modless dialog which can be displayed and hide using menu options in parent window. this modeless dialog on certain options also generates a modal dialog, now when the modal dialog is active and i hide its parent ie modeless dialog from main sdi window only the parent modeless dialog hides whereas modal dialog remanis visible and doesnot hides. since it is child of modeless dialog it should also hide but it wont.
-
Main window of my SDI application generates a modless dialog which can be displayed and hide using menu options in parent window. this modeless dialog on certain options also generates a modal dialog, now when the modal dialog is active and i hide its parent ie modeless dialog from main sdi window only the parent modeless dialog hides whereas modal dialog remanis visible and doesnot hides. since it is child of modeless dialog it should also hide but it wont.
When the modeless dialog is hidden, hide the modal dialog. There is a message ( WM_SHOWWINDOW ) that tells you a window is shown or hidden.
Maximilien Lincourt Your Head A Splode - Strong Bad
-
When the modeless dialog is hidden, hide the modal dialog. There is a message ( WM_SHOWWINDOW ) that tells you a window is shown or hidden.
Maximilien Lincourt Your Head A Splode - Strong Bad