Screen Rotation WinCE 5.0 CF 2.0

  • Thread starter Thread starter Tomppa
  • Start date Start date
T

Tomppa

How do I rotate the screen 90 or 270 deg for a custom WinCE 5.0 Device?

Running WinCE 5.0
CF 2.0
OpenNetCF
We build our own CE images with PB 5.0.

Ideally I would like to let the user change this setting.

I did some googling around but only found discussions dated 2003 with WinCE
4.2

Thanks in advance!
 
Tomppa said:
How do I rotate the screen 90 or 270 deg for a custom WinCE 5.0 Device?

For CF 2.0:

SystemSettings.ScreenOrientation = ScreenOrientation.Angle90;

( or Angle0 Angle90 Angle180 Angle270)

Kev
 
I tried this and it throws the following general error
A first chance exception of type 'System.Exception' occurred in
System.Drawing.dll



I guess my BSP display driver does not support this functionality????
 
Does the device support rotation? There's no rule that says the display
driver has to. What does the OEM say about rotation? Often they must be
set to the screen angle at boot and cannot be changed.

Only the device OEM is going to be able to answer this.
 
Back
Top