Share via


SHNavigateBack

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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.

Note

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.

Syntax

void SHNavigateBack(void);

Parameters

None.

Return Value

None.

Remarks

For Windows Mobile

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.

Requirements

Header aygshell.h
Library aygshell.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC for Windows Mobile 2003 and later, Smartphone 2002 and later

See Also

Other Resources