Form maximize issue?

Feb 19, 2013 at 9:15 PM
The control has been working really well, for the most part, after I put in the XP fix. My customers and I have an intermittent problem with the sizing when maximized, though. Sometimes hitting the maximize button on the window makes the form extra large. The title at the top goes above the top of the screen and any buttons at the bottom of the form go behind the system tray.

We've seen this on Win 7 64-bit and Win XP. Unfortunately, the behavior is not consistent.

Any ideas?
Feb 19, 2013 at 9:31 PM
Additional Info: My form is inheriting from RibbonForm
Feb 21, 2013 at 6:46 AM
If you inherit from RibbonForm there are some known issues.
As far as I know maximizing causes issues in Win7 when you place any control with DockStyle.Fill in the Form (most likely Top as well).
In XP I had the behavior that the Form was drawn partially only as the invalidated area after maximizing was (0, 0). Therefore the paint did not fire and so on...

At least for XP this is an improvement: