Link to home
Create AccountLog in
Avatar of infofinder
infofinderFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Does LogicalToPhysicalPoint work even in a NON dpi aware Windows app?

I'm doing some work with IUIAutomation in a non dpi-aware app (that is, it does not declare itself as DPI aware in the manifest) and need to supply phyiscal coords at one point. Can I expect LogicalToPhysicalPoint to work (on Vista onwards)? Or do I have to go down the rather costly route of going fully dpi aware?
ASKER CERTIFIED SOLUTION
Avatar of joinaunion
joinaunion
Flag of Canada image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of infofinder

ASKER

@joinaunion: That's a good article.

I'm coming round to the idea that I'm just going to have to bite the bullet and make the app fully dpi-aware; there are far too many inconsistencies in a non-aware app trying to deal with dpi-scaling issues.