Solved

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

Posted on 2010-11-12
2
650 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PL SQL Developer 7 90
ejb example issues 3 90
SQL Insert parts by customer 12 63
Java import explained 4 49
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
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 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…

752 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