Screen Rotation Registry Settings (Windows Embedded CE 6.0)
1/6/2010
By default, the screen is oriented at a zero degree angle of rotation after downloading the run-time image to the CEPC. You can change the default angle of the screen by setting the appropriate registry key. However, any applications that subsequently run on the CEPC and rotate the screen will override the settings in the registry file.
In this procedure, you will set the registry key for screen rotation. If you do not want to change the default angle of the screen orientation, you can skip this procedure.
The following table shows the values you can use in the Angle registry subkey.
Value | Description |
---|---|
0 |
No rotation. |
5A |
90 degrees rotated clockwise. |
B4 |
180 degrees rotated clockwise. |
10E |
270 degrees rotated clockwise. |
To set the registry key for screen rotation,
In the Solution Explorer window, expand the Parameter Files branch.
Right-click Project.reg, and then choose Open.
To set a default angle for screen rotation for the OS design, add the following key to Project.reg file.
[HKEY_LOCAL_MACHINE\System\GDI\Rotation] "Angle"=dword:5A
Save the file by choosing File and then Save, and close the file by choosing File and then Close.
See Also
Tasks
How to Implement Screen Rotation