Screen oreintation c#

  • Thread starter Thread starter Mustafa Rabie
  • Start date Start date
M

Mustafa Rabie

Dear All,

I want to know how can i make my application change the screen oreintation
from portrait to landscape using c# on windows mobile 2003 SE and Windows
mobile 5.

thanks
mustafa
 
Peter said:
Also I put equivalent code in the SDF (v1.3 onwards)
http://www.opennetcf.org/sdf/ see
OpenNETCF.WindowsCE.Forms.SystemSettings.ScreenOrientation property
(matches the .NETCF v2.0 equivalent).

So, I just tried this on an X30 (I see the code says that it was tested on
the emulator):

1. Setting the orientation mostly works except the Dell switcher bar
(up/down arrow) in the title bar becomes a white square.

2. Getting the orientation always return Angle0.

Any idea how to modify the code to fix these bugs? Thanks,

Hilton
 
Back
Top