rotate screen

T

tony

Hi,

Im using net cf2 sp2 on win.ce net 4.2

How can i rotate the screen by 90 degrees ?

Any directions will be helpfull.

Thanking in advance.
 
P

Peter Foot

You can use Microsoft.WindowsCE.Forms.SystemSettings.ScreenOrientation. See
the SDK documentation for usage.

Peter

--
Peter Foot
Microsoft Device Application Development MVP
peterfoot.net | appamundi.com | inthehand.com
APPA Mundi Ltd - software solutions for a mobile world
In The Hand Ltd - .NET Components for Mobility
 
C

Chris Tacke, eMVP

Does the device actually support rotation? It's not a given that it does,
and it's also not a given that it follows any specific standardized API.
*If* it is supported, and if it is supported via ChangeDisplaySettingsEx,
then Peter's suggestion will work (provided that was in a version of the CF
supported on 4.2) or a P/Invoke will.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top