<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Identifying VGA resolution on WM devices.</title><link>http://blogs.msdn.com/priozersk/archive/2009/05/04/identifying-vga-resolution-on-wm-devices.aspx</link><description>Very often when developing managed applications you need to target both VGA (480x640) and the older QVGA (240x320) type of devices. If the AutoScaleMode property of your form is set to Dpi, your controls such as textboxes. labels, buttons etc... will</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>tehnolog</title><link>http://blogs.msdn.com/priozersk/archive/2009/05/04/identifying-vga-resolution-on-wm-devices.aspx#9589297</link><pubDate>Tue, 05 May 2009 20:31:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9589297</guid><dc:creator>Tehnolog</dc:creator><description>&lt;p&gt;What's about HTC Touch HD? This device have 480x800.&lt;/p&gt;
&lt;p&gt;Some devices have 320x320. Work your code for these devices?&lt;/p&gt;
</description></item><item><title>re: Identifying VGA resolution on WM devices.</title><link>http://blogs.msdn.com/priozersk/archive/2009/05/04/identifying-vga-resolution-on-wm-devices.aspx#9589387</link><pubDate>Tue, 05 May 2009 21:12:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9589387</guid><dc:creator>priozersk</dc:creator><description>&lt;p&gt;All you are intersted in is if you have higher DPI, which dictates usage of a higher res screens. So it should work.&lt;/p&gt;
</description></item><item><title>Tehnolog</title><link>http://blogs.msdn.com/priozersk/archive/2009/05/04/identifying-vga-resolution-on-wm-devices.aspx#9591649</link><pubDate>Wed, 06 May 2009 20:24:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9591649</guid><dc:creator>Tehnolog</dc:creator><description>&lt;p&gt;Извините, Алекс, что пишу на русском. Предположим, я хочу вывести ImageList по высоте экрана. базовый размер 320. С помощью вашего кода я умножаю на 2, получаю 640 для моделей 640х480. Но если экран 480х800, то получится пустое место внизу в 160 пикселов. Но dpi у них одинаковое - 192, если я ничего не путаю. И каждый новый форм-фактор добавляет головной боли программистам.&lt;/p&gt;
</description></item><item><title>re: Identifying VGA resolution on WM devices.</title><link>http://blogs.msdn.com/priozersk/archive/2009/05/04/identifying-vga-resolution-on-wm-devices.aspx#9592130</link><pubDate>Thu, 07 May 2009 00:30:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9592130</guid><dc:creator>priozersk</dc:creator><description>&lt;p&gt;I agree about the headache, but main idea of my code is to correctly resize the images that you would want to display let's say in the ListView. In the case if you want to display the image full screen you can just easily get the current screen size and use that to draw it correctly.&lt;/p&gt;
</description></item></channel></rss>