Reversi
8/28/2008
This code sample is named Reversi. It demonstrates how to create a Windows Mobile game.
Feature Area
Relevant APIs
- Shell Reference
- CheckMenuItem function
- CreateWindow function
- DefWindowProc function
- DeleteObject function
- DialogBox function
- DispatchMessage
- Ellipse function
- EndDialog function
- EndPaint function
- ExtTextOut function
- GetClientRect function
- GetDC function
- GetDeviceCaps function
- GetStockObject function
- GetSystemMetrics function
- GetTextExtentExPoint function
- GetTextMetrics function
- KillTimer function
- LoadAccelerators function
- LoadCursor function
- LoadImage function
- LocalAlloc function
- LocalFree function
- MessageBox function
- PostMessage function
- Rectangle function
- RegisterClass function
- ReleaseCapture function
- ReleaseDC function
- SelectObject function
- SetBkMode function
- SetCapture function
- SetFocus function
- SetTimer function
- SetWindowText function
- ShowWindow function
- TranslateAccelerator function
- TranslateMessage function
- WNDCLASS structure
Usage
To run the code sample
Navigate to the solution file (*.sln), and double-click it. By default, the solution file is copied to the following folder:
C:\Program Files\Windows Mobile 6 SDK\Samples\PocketPC\CPP\win32\Reversi
Microsoft Visual Studio 2005 launches and loads the solution.
Build the solution (Ctrl+Shift+B).
Deploy the solution (F5).
Development Environments
SDK: Windows Mobile 6 Professional SDK and Windows Mobile 6 Standard SDK
Development Environment: Visual Studio 2005.
ActiveSync: Version 4.5.
See Also
Concepts
Code Samples for Windows Mobile
Other Resources
Creating a Sample Application
Working with Windows and Messages
Graphics, Windowing and Events (GWES)