8/28/2008 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.
- Design Options for Screen Rotation
-
Discusses the various approaches you can take when designing application screens.
- 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_SIZE Code Example
-
Illustrates how a typical application detects and handles screen rotation using the WM_SIZE message.
- WM_SETTINGCHANGE Code Example
-
Illustrates how a typical application detects and handles screen rotation using the WM_ SETTINGCHANGE message.
Concepts
Architecture for Windows Mobile Applications