Solved

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

Posted on 2010-11-12
2
647 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
please tell me windows 1-10 7 114
object oriented design (python) and documentation tools 2 99
Bot application - advice 3 60
Vector, list Questions R 6 46
This is an explanation of a simple data model to help parse a JSON feed
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

756 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