Windows Mobile 6.5
A version of this page is also available for

For Windows Mobile devices, the SHNavigateBack function performs the default handling of pressing the back button by returning to the previous application on the device.

The SHNavigateBack function is not implemented for Windows Embedded CE-based devices. It is provided as a stub in the operating system (OS) for application compatibility.

void SHNavigateBack(void);


For Windows Mobile Standard: When the BACK button is pressed, the device will automatically return to the previous application unless the current application overrides the BACK key. If an application overrides the BACK key, the device will not return to the previous application unless this function is called. Applications can be made to override the BACK key by sending the SHCMBM_OVERRIDEKEY message to the menu bar.

Windows Embedded CEWindows CE 3.0 and later
Windows MobilePocket PC for Windows Mobile 2003 and later, Smartphone 2002 and later

Other Resources

Community Additions