Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This message retrieves the menu handle to a specified submenu of the menu receiving the message.

Syntax

SHCMBM_GETSUBMENU
  wParam = 0
  lParam = 
menuid

Parameters

wParam

Reserved for future use, set to zero.

menuid

Menu identifier that specifies the submenu.

Return Value

Returns the HMENU to the submenu specified by menuid.

For Windows Mobile, when this message is used as the Msginput parameter for the SendMessagefunction, SendMessagereturns the handle to the top-level menu associated with the soft key bar.

Note:
Beginning with Windows Mobile 6.5.3, soft keys are replaced by touchable tiles on Windows Mobile Professional phones.

Requirements

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