开发者

Windows Xp (Tiny XP vs Win Xp Pro Sp3) Different Window Sizes

开发者 https://www.devze.com 2023-01-31 20:28 出处:网络
Very strange question but I have some legacy code that interacts with another application by checking exact pixel positions. The windows need to be exactly the same size.

Very strange question but I have some legacy code that interacts with another application by checking exact pixel positions. The windows need to be exactly the same size.

I am trying to deploy the code on TinyXp to lower the footprint or the OS but the window size is coming out 2 pixels thinner than on regular windows sp3 64bit. I've copied over the theme and font rende开发者_如何学Cring stuff but have no idea what the deal is.

Incidentally, this window can't be resized horizontally.

Any ideas would be greatly appreciated?


From one Windows installtion to another, many things can change. Maybe you can dump out the result of calls to the windows GetSystemMetrics Function on the two different machines.

DPI Settings also have a great influence on Windows look. This article can be interesting to check: Writing High-DPI Win32 Applications

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号