The numbers used by windows are 39.370 inches per metre and 96 dots per inch.
The user can change the dots per inch but very few people know how and it's a reboot. (It's a bit easier in se7en so it may happen more often). I dunno how you're supposed to work out if the user has changed the DPI though.
If I put a 11mm square control on the screen depending on where on the form it's put it's width might be one pixel different from it's height. It really is 4.7244 pixels per mm for my screen.
Comments
But what about forms?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
The user can change the dots per inch but very few people know how and it's a reboot. (It's a bit easier in se7en so it may happen more often). I dunno how you're supposed to work out if the user has changed the DPI though.
TVision Technology Ltd
Then how many dots is the 110 that's filled in the Width/Length property?
Is there a fixed number?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
If I put a 11mm square control on the screen depending on where on the form it's put it's width might be one pixel different from it's height. It really is 4.7244 pixels per mm for my screen.
TVision Technology Ltd