Capture Back Button Press Events
This code sample is named Back. It demonstrates how to detect when the Back Button is pressed on Windows Mobile Standard, and how you can programmatically interact with it.
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.5.3 DTK\Samples\Smartphone\cpp\Win32\back
Microsoft Visual Studio launches and loads the solution.
Build the solution (Ctrl+Shift+B).
Deploy the solution (F5).