Crossword

This code sample is named Crossword. It demonstrates how to build system metric awareness into an application. Crossword can detect screen resolution and orientation.
-
ChangeDisplaySettingsEx function
-
GetDeviceCaps function
-
GetSystemMetrics function
-
SHGetUIMetrics function
-
WM_SETTINGCHANGE message
-
WM_SIZE message
-
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.slnC:\Program Files\Windows Mobile 6 SDK\Samples\PocketPC\CPP\win32\Crossword\Landscapeaware\LandscapeAware.slnC:\Program Files\Windows Mobile 6 SDK\Samples\PocketPC\CPP\win32\Crossword\Hidpiaware\HidpiAware.slnMicrosoft Visual Studio 2005 launches and loads the solution.
-
Build the solution (Ctrl+Shift+B).
-
Deploy the solution (F5).