Solved

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

Posted on 2010-11-12
2
640 Views
Last Modified: 2012-05-10
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?
0
Comment
Question by:infofinder
2 Comments
 
LVL 16

Accepted Solution

by:
joinaunion earned 500 total points
ID: 34261814
From what I have read vista will use its default values for non dpi app.Give this a read.
http://www.rw-designer.com/DPI-aware
0
 

Author Comment

by:infofinder
ID: 34262262
@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.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question