Solved

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

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

705 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now