Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
4/19/2010
Windows Mobile allows users to view applications in either portrait or landscape mode and to switch between the two modes at any time. This means that developers might need to program applications with the ability to detect screen rotation events and to respond to those events appropriately. The topics in this section provide the necessary background, technical details, and design guidelines to help you adapt your application for the different modes.
In This Section
- Rotation Behavior in Older Applications
Provides possible behavior scenarios when older applications are rotated into landscape mode.
- How Applications Detect and Respond to Screen Rotation
Describes the programming mechanism that signals a screen rotation and explains how to use it.
- WM_SETTINGCHANGE Code Example
Illustrates how a typical application detects and handles screen rotation using theWM_ SETTINGCHANGEmessage.
- WM_SIZE Code Example
Illustrates how a typical application detects and handles screen rotation using theWM_SIZEmessage.
See Also
Concepts
Architecture for Windows Mobile Applications
Design Options for Screen Rotation