I have a Form that has following document outline
Toolbar Statusbar HorzSplitter (HS)+++HS.Panel1 | |+++StackPanel (SP) | |++SP.Panel1 [Contains few text boxes and labels] | |++SP.Panel2 | | VertSplitter (VS) | | +++VS.Panel1 [Contains one datagridview] | | +++VS.Panel2 [Contains one list control] | +++SP.Panel3 [Contains one datagridview]+++HS.Panel2 [Contains a text box and list control]
What happens is that when a form gets deactivated (user ctrl-tabs to other app) and activated (user returns), some of the stack panel does not get redrawn. I realize that is z-order issue and been amending it and would be much better off if I understood how and where I can see what z-order
of particular control is.
Second, I've gone thru all this layers to allow resizeable form and I use dock for as many as I can. For rest, I manually resize them. it works fine and resizing from any direction works correctly. However, when I maximise the form using Task-menu Maximize button,all panels do resize. This is because maximizing a form does not raise the FormSized event. I've tried to enumerate thru all methods and kept calling my size computation from all events and none of them work