2006-11-20 Rolf Bjarne Kvinge <RKvinge@novell.com>
authorRolf Bjarne Kvinge <RKvinge@novell.com>
Mon, 20 Nov 2006 18:13:55 +0000 (18:13 -0000)
committerRolf Bjarne Kvinge <RKvinge@novell.com>
Mon, 20 Nov 2006 18:13:55 +0000 (18:13 -0000)
commit867292671c8444b3cbe441099632d8eb44d40b57
treef18726c2a2d9b50b0e05ae2b7d5cb68b309a5a1c
parent8d25bde2b41ebce2405d246e5a7920e8e4230a95
2006-11-20  Rolf Bjarne Kvinge  <RKvinge@novell.com>

        * InternalWindowManager.cs:
        * Form.cs:
        * MdiClient.cs:
        * MdiWindowManager.cs:
        - If mdi child is maximized, set mdi parent's
          text to "Parent - [Child]". Fixes #79770.
        - If there is any maximized mdi child windows, only the active
          window (and any new windows) is maximized, the rest are
          normal.
        - On a WindowState change only save mdi child's window bounds
          if the old window state was normal. Fixes #79774.
        - The scroll bars are now calculated on hopefully all
          necessary events. Fixed #79771 / #79844->6 / #79906.
        - MdiClient.SizeScrollBars() now takes into account docked
          controls in the parent when calculating available space.
        - InternalWindowManager now always repaints the entire title
          area. Fixes #79844->1/4/5.
        - Added RequestNCRecalc on mdi child windowstate changes.
          Fixes #79772.

        * MdiFormTest.cs: Added tests for WindowState (mdi
        children) and Text (mdi parent with maximized mdi
        children).

svn path=/trunk/mcs/; revision=68206
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/InternalWindowManager.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiWindowManager.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms_test.dll.sources
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/MdiFormTest.cs [new file with mode: 0644]