Kris Kumar
05-08-2006, 12:30 PM
<div class='os_post_top_link'><a href='http://blogs.msdn.com/davidklinems/archive/2006/04/17/577897.aspx' target='_blank'>http://blogs.msdn.com/davidklinems/archive/2006/04/17/577897.aspx</a><br /><br /></div><i>"Several months back, I wrote about how to determine whether or not a device supported screen rotation. This post prompted the question of how to programmatically rotate the device..The snippets below check the device's current display orientation. If portrait (Angle0), the orientation is changed to landscape (Angle90). If the device has any orientation other than Angle0, it is changed to portrait. ... For more information on this and other cool settings provided by the Microsoft.WindowsCE.Forms namespace, check out the MSDN documentation for SystemSettings."</i><br /><br />David Kline has posted a handy code snippet to rotate the Windows Mobile device's screen orientation. I was hoping to try it out myself but the lazy side of me overpowered me. :) I wonder if triggering this code snippet can permanently change the screen orientation for all the applications or only for the application that calls it. It looks like it will do for all applications. I want to try it so that I can rotate the screen to make my email screen more readable. ;-)