Minimizing a dialog...
-
Hi, I don't like modal dialogs that miss the minimize button and deny the user from minimizing the application, when they are open and stay on top of the main window. Can one handle the WM_SYSCOMMAND message and let both the dialog and the main window minimize & restore at the same time ? Can anyone help ? Thanks in advance.
-
Hi, I don't like modal dialogs that miss the minimize button and deny the user from minimizing the application, when they are open and stay on top of the main window. Can one handle the WM_SYSCOMMAND message and let both the dialog and the main window minimize & restore at the same time ? Can anyone help ? Thanks in advance.
Assuming you can add a minimize button (which I think should just be a case of adding the WS_MINIMIZE style to the dialog template), you should be able to handle WM_SIZECHANGED and minimize your owner window. I'll admit this is a guess! -- Mike Dimmick