I just released a new, minor update to Winaero Tweaker. I would like to explain what is new and why you need to update your version.
As you might have noticed, Winaero Tweaker incorporates my "Tiny Window Borders" app, which allowed you to change the window border size in Windows 7, Windows 8 and Windows 8.1.
While Tiny Window Borders is a 32-bit app, Winaero Tweaker includes both 32-bit and 64-bit versions and runs the relevant version depending on your OS bitness.
One issue I discovered after porting "Tiny Window Borders" is that the 64-bit API behaves incorrectly.
Note: The following information might be interesting for developers, and may be too technical for regular end users.
Winaero Tweaker uses the SystemParametersInfo function to obtain and set the border size. Windows Vista and above ship with an extended NONCLIENTMETRICS structure.
The additional iPaddedBorderWidth member defines the thickness of the padded border, in pixels. Its default value is 4 pixels. The iPaddedBorderWidth and iBorderWidth members are combined for both resizable and non-resizable windows in the Windows Aero desktop experience.
However, when you are using NONCLIENTMETRICS with SystemParametersInfo in Windows x64, it omits the iPaddedBorderWidth member! This causes incorrect application behavior. So, in this case iPaddedBorderWidth is always zero and the the border size is returned as iPaddedBorderWidth+iBorderWidth. This could be easily ignored, however, it also produces wrong behavior. The border applied with x64 NONCLIENTMETRICS will be set ONLY for x64 apps. x86 apps will still have the old border until you sign out from your Windows session. This is just weird.
So, to fix it, I coded a simple x86 wrapper, WinaeroWOW64.exe, which comes along with Winaero Tweaker and changes the borders instantly when you need it. It does not stay in memory so you will not even notice its presence.
These changes are included in the current release of Winaero Tweaker 0.1.0.1 and I strongly recommend you to upgrade the app. I hope this bit of information is useful to developers who encounter this same issue.
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:
If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!