Screen Rotation WinCE 5.0 CF 2.0

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!
 
K

kdarling

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
 
T

Tomppa

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????
 
G

Guest

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.
 

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