Flip the screen

  • Thread starter Thread starter Peter Morris [Droopy eyes software]
  • Start date Start date
P

Peter Morris [Droopy eyes software]

I've Googled but not found the answer.

I have an Intermec PPC and need to rotate the screen by 180 degrees. How is
this done?

Thanks

Pete
 
Assuming it's running PPC2003SE or later and you are using .NETCF v2.0 you
can set the Microsoft.WindowsCE.Forms.SystemSettings.ScreenOrientation
property

For .NETCF v1.0 there is equivalent functionality in the Mobile In The Hand
suite (including the free community edition) -
InTheHand.WindowsCE.Forms.SystemSettings.ScreenOrientation
http://www.inthehand.com/WindowsMobile.aspx

Peter
 
PS, I don't suppose there is a way to do this only for a specific panel on a
form is there?
 
No, the method simply calls ChangeDisplaySettingsEx, which calls to the
display driver. That rotates the entire display buffer for the device,
which means _everything_ in the system is rotated. If you need to rotate
just a single panel or form, you'd have to custom draw everything - and most
controls would have to be custom as well. That would be a large amount of
work for almost any funtionality beyond just labels or a picture.


--
Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
 
Back
Top