Crossword

Send Feedback

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 CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Samples\CPP\Win32\Crossword\BaseSample\BaseSample.sln

    C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Samples\CPP\Win32\Crossword\Landscapeaware\LandscapeAware.sln

    C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Samples\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).

Requirements

Pocket PC SDK: Windows Mobile 5.0 Pocket PC SDK.
Development Environment: Visual Studio 2005.
ActiveSync: Version 4.0.

See Also

Code Samples | How Applications Detect and Respond to Screen Rotation | WM_SETTINGCHANGE Code Example


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show: