* InternalWindowManager.cs: New private method that factors title
commitff197667e1550b89130901102a4e6f15ead3b699
authorJackson Harper <jackson@novell.com>
Thu, 28 Sep 2006 19:58:55 +0000 (28 19:58 -0000)
committerJackson Harper <jackson@novell.com>
Thu, 28 Sep 2006 19:58:55 +0000 (28 19:58 -0000)
treec3f61aef0358caa705f032b79a10dc97cabd0266
parent021ce9d64fef112d5668fe37efdcfa143f5ea86c
* InternalWindowManager.cs: New private method that factors title
        bar heights in when calculating the pos of an NC mouse message.
        - Use SendMessage to force a paint when the form's size is
          changed
        instead of painting the decorations immediately.
        - Don't let the NC button click messages get to DefWndProc,
        because they will attempt to handle windowing themself, and this
        messes up z-order (it will put them in front of the scrollbars)

svn path=/trunk/mcs/; revision=66081
mcs/class/Managed.Windows.Forms/System.Windows.Forms/InternalWindowManager.cs