|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Minimized parent mdi form not properly restoredHi.
I have a MDI form with some child forms. Only one of the child forms is visible at the same time. It is maximized and all boxes are hidden to simulate a one-form-application. The problem: After minimizing the parent mdi form it can not be properly restored from the task bar. It is shown in normal window state, but as a small box (160x28 pixel). I have to resize it manually. regards and thanks, Jan Hi Jan,
I had the same problem. Which FW Version do you use (2.0)? Are you using the Property Binding Feature? If true do it yourself! Remove the Property Bindings! Something like this (asume you have a Setting typed System.Drawing.Rectangle) will work in FormClosing: My.Settings.Bounds = Me.RestoreBounds My.Settings.Save() restore it in FormLoad: Me.Bounds = My.Settings.Bounds Hope this helps... Stefan Show quoteHide quote "Jan Weingärtner" <jweing***@gmx.de> wrote in message news:OJY$%23n0GGHA.1032@TK2MSFTNGP12.phx.gbl... > Hi. > > I have a MDI form with some child forms. Only one of the child forms is > visible at the same time. It is maximized and all boxes > are hidden to simulate a one-form-application. > > The problem: After minimizing the parent mdi form it can not > be properly restored from the task bar. It is shown in normal > window state, but as a small box (160x28 pixel). I have to > resize it manually. > > regards and thanks, > Jan
Other interesting topics
.NET 2.0 and toolbar icons
Forms Namespace Click once Installs returns XML page to XP Pro Clients... Raise an event? Draw a horizontal line on the form without using GDI Japaneese IME How to convert a selectedIndex to SelectedValue for ComboBox ListBox question problem in persisiting a collection Richtextbox beep? |
|||||||||||||||||||||||