Author Topic: Visual Studio 2015 Community issues  (Read 15963 times)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1982
    • zapsolution
Re: Visual Studio 2015 Community issues
« Reply #15 on: November 23, 2016, 11:32:36 pm »
I fully agree that there is a faulty misleading outer size report.

What i checked however is that using dwStyleEx = 0, strangely produce the correct client area size, just like when using AdjustWindowRectEx.
But the size reported by GetWindowRect is still wrong, when compared to the pixel size of a screen capture of the window done in PhotoShop.

Be aware also that in Windows 10, the border of a resizable window or a fixed one, are now looking always the same.
Only one single pixel line, with no more grip on the bottom right corner in case of resizable window.

Thus things have changed, and especially for those who are not using the AdjustWindowRectEx before using CreateWindowEx with a popup window.

The only way to have a consistent appearence with all OS, is to use a Skin Engine.  ;)

« Last Edit: November 23, 2016, 11:47:31 pm by Patrice Terrier »
(Always working with the latest Windows version available...)