SHNavigateBack (Windows CE 5.0)

Send Feedback

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

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

Syntax

void SHNavigateBack(void);

Parameters

None.

Return Values

None.

Remarks

For SmartPhone: 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.

Requirements

Pocket PC: Windows Mobile 2003 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: aygshell.h
Library: aygshell.lib

See Also

AYGShell Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.