Hi all - Does anyone know a strategy for creating an application window size that is an absolute size in inches (vs pixels) independent of screen size or reslution?
My goal is to simulate one of these new UMPC devices with a 7 inch screen, then compare the visual output to a 9 inch screen device - this simulation needs to run on whatever the client is running. My problem is that Capabilities.screenDPI is not returning a useful value. Example: on my laptop with 15 inch screen (12 inch horizontal, 9 inch vertical) is set to 1280x1024. Simple math tells me that I have 106.7 pixels for each horizontal inch of screen, and 113.8 pixels per inch of vertical. Skipping the math, I end up with a layout of 6.1x3.4 inches for my 7 inch device, which (via pixels per inch) gives a pixel resoultion of 651x353. And, this works pretty well when actually measured with a ruler. However - Capatilities.screenDPI tells me that I have 72 pixels per inch (at least the docs say that dots = pixels).. in other words, using the screenDPI figure results in a completely missized window. Is there a better way? thanks! david buitenveld -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

