Compartilhar via


Crossword

Windows Mobile SupportedWindows Embedded CE Not Supported

8/28/2008

This code sample is named Crossword. It demonstrates how to build system metric awareness into an application. Crossword can detect screen resolution and orientation.

Feature Area

Relevant APIs

Projects

This solution consists of three projects.

  • BaseSample
    The basic application, which is a crossword game.
  • HiDpiAware
    The HiDPI-aware version of BaseSample.
  • LandscapeAware
    The Landscape/Portrait-aware version of BaseSample.

Usage

To run the code sample

  1. Navigate to one of the solution files (*.sln), and double-click it. By default, the solution files are copied to the following folders:

    C:\Program Files\Windows Mobile 6 SDK\Samples\PocketPC\CPP\win32\Crossword\BaseSample\BaseSample.sln

    C:\Program Files\Windows Mobile 6 SDK\Samples\PocketPC\CPP\win32\Crossword\Landscapeaware\LandscapeAware.sln

    C:\Program Files\Windows Mobile 6 SDK\Samples\PocketPC\CPP\win32\Crossword\Hidpiaware\HidpiAware.sln

    Microsoft Visual Studio 2005 launches and loads the solution.

  2. Build the solution (Ctrl+Shift+B).

  3. Deploy the solution (F5).

Development Environments

Pocket PC SDK: Windows Mobile 6 Professional SDK 

Development Environment: Visual Studio 2005.

ActiveSync: Version 4.5.

See Also

Concepts

Code Samples for Windows Mobile

Other Resources

How Applications Detect and Respond to Screen Rotation
WM_SETTINGCHANGE Code Example