Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A version of this page is also available for
4/8/2010
This message replaces an existing submenu with a new one.
Syntax
SHCMBM_SETSUBMENU
wParam = wParam;
lParam = (HMENU) hmenu;
Parameters
- wParam
Passed through to the button on the menu. It is processed by the application.
Note
For Windows Mobile, the wParam parameter is reserved for future use and must be set to zero.
- hmenu
Address of an NMNEWMENU structure. The hMenu parameter is a handle to the New submenu.
Return Value
Returns the menu handle to the menu that was replaced by the menu specified by the lParam.
Requirements
| Header | aygshell.h |
| Windows Embedded CE | Windows CE 3.0 and later |
| Windows Mobile | Pocket PC 2000 and later |