I have a modal child print preview window in my order entry app that is displayed modally and maximized. I do not pass the parent form to the ShowDialog method on the modal child form.
When the user minimizes the child modal print preview window, the parent form is still visible. Also, the print preview window does not disappear but rather becomes a rectangle about the size of the buttons on the task bar but located above the task bar. This rectangle has the blue control bar with the minimize, maximize, and close buttons visible as well as the caption of the form and the icon.
The following properties are set on the child form:
FormBorderStyle = Sizable
ShowInTaskbar = false
WindowState = Maximized
How do I make the parent form minimize with its child modal form?
I prefer that all this be accomplished with only one icon on the task bar for both the parent and child forms.
Thanks for any tips!
When the user minimizes the child modal print preview window, the parent form is still visible. Also, the print preview window does not disappear but rather becomes a rectangle about the size of the buttons on the task bar but located above the task bar. This rectangle has the blue control bar with the minimize, maximize, and close buttons visible as well as the caption of the form and the icon.
The following properties are set on the child form:
FormBorderStyle = Sizable
ShowInTaskbar = false
WindowState = Maximized
How do I make the parent form minimize with its child modal form?
I prefer that all this be accomplished with only one icon on the task bar for both the parent and child forms.
Thanks for any tips!