I am using the docking manager on an MDI container form with a status bar. I would like to be able to Show() / Hide() the status bar.
The problem is that calling Hide() does not resize the client area but instead the area where the status bar is located is just shown blank.
If I remove the statusBar from the form's collection of controls the result is initially the same, however if I resize the window the status bar disappears (if removed) or appears (if added) as expected.
I have tried calling RecalcHostFormLayout() and this has no effect.
Thanks in advance,
PSPrakash S Syncfusion Team May 28, 2002 07:27 PM UTC
Thank you for bringing this issue to our attention. I was able to verify the condition and have filed a bug-report. The problem will be fixed for the forthcoming release of Essential Tools RC2.
For the time being, you can workaround the condition by toggling the statusbar's Dock property before showing/hiding it. The following code should give you an idea,