Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This code sample is named Reversi. It demonstrates how to create a Windows Mobile game.
Feature Area
Relevant APIs
- Shell and User Interface 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 CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Samples\CPP\Win32\Reversi\``Reversi.slnMicrosoft Visual Studio 2005 launches and loads the solution.
Build the solution (Ctrl+Shift+B).
Deploy the solution (F5).
Requirements
Pocket PC SDK: Windows Mobile 5.0 Pocket PC SDK.
Smartphone SDK: Windows Mobile 5.0 Smartphone SDK.
Development Environment: Visual Studio 2005.
ActiveSync: Version 4.0.
See Also
Code Samples | Creating a Sample Application | Working with Windows and Messages | Graphics, Windowing and Events
Send Feedback on this topic to the authors