Re: Windows 7 sizing
Posted: Wed Jan 19, 2011 11:53 am
There's a lot to be said for both views. But in the end it is MS that dictates what we have to do, even if they caused the problem . And the dpi scaling in Vista/W7 caused a lot of problems. MS says that you have to code dpi-aware, and calls it 'best practice', the usual term they use when they messed up ( the other one is: 'this behaviour is by design ... ). So be it ... you may agree or disagree ( I disagree ) but in the end I have to code for the user.
As for XP-style: I leave it on. IMO it is up to the user to decide what kind of interface he/she prefers. As for scaling things: I use GetDeviceCaps_(GetDC_(0), #LOGPIXELSX) to calculate a scale, and a macro to scale my gadgets/fonts/windows etc. I do need to thank Rescator here for pointing the right direction in his thread.
As for XP-style: I leave it on. IMO it is up to the user to decide what kind of interface he/she prefers. As for scaling things: I use GetDeviceCaps_(GetDC_(0), #LOGPIXELSX) to calculate a scale, and a macro to scale my gadgets/fonts/windows etc. I do need to thank Rescator here for pointing the right direction in his thread.