[Mwinapi-commits] SF.net SVN: mwinapi:[124] trunk/ManagedWinapi/Windows/SystemWindow.cs
Status: Beta
Brought to you by:
schierlm
From: <zi...@us...> - 2014-11-26 10:31:39
|
Revision: 124 http://sourceforge.net/p/mwinapi/code/124 Author: ziewer Date: 2014-11-26 10:31:31 +0000 (Wed, 26 Nov 2014) Log Message: ----------- fixed SystemWindow.Rectangle for maximized windows with Windows Aero Glass comment added - see http://social.msdn.microsoft.com/Forums/en-US/windowsuidevelopment/thread/6c1c67a9-5548-4e9b-989f-c7dbac0b1375/ Modified Paths: -------------- trunk/ManagedWinapi/Windows/SystemWindow.cs Modified: trunk/ManagedWinapi/Windows/SystemWindow.cs =================================================================== --- trunk/ManagedWinapi/Windows/SystemWindow.cs 2014-11-26 10:23:27 UTC (rev 123) +++ trunk/ManagedWinapi/Windows/SystemWindow.cs 2014-11-26 10:31:31 UTC (rev 124) @@ -756,7 +756,8 @@ RECT r = new RECT(); GetWindowRect(_hwnd, out r); - // GetWindowRect returns wrong values for maximized windows when using Windows Aero desktop. + // GetWindowRect returns wrong values for maximized windows when using Windows Aero Glass desktop. + // see http://social.msdn.microsoft.com/Forums/en-US/windowsuidevelopment/thread/6c1c67a9-5548-4e9b-989f-c7dbac0b1375/ // Reduce bounds by negative padding of "glass" pixels for maximized windows. if ((Style & WindowStyleFlags.MAXIMIZE) > 0) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |