SHGetSubMenu (Windows CE 5.0)

Send Feedback

This macro retrieves the menu identifier to a submenu of a specified menu by sending an SHCMBM_GETSUBMENU message.

Syntax

#define SHGetSubMenu(hWndMB,ID_MENU) (HMENU)SendMessage((hWndMB), \        SHCMBM_GETSUBMENU, (WPARAM)0, (LPARAM)ID_MENU);

Parameters

  • hWndMB
    Handle to the specified menu.
  • ID_MENU
    Menu identifier for a submenu of the specified menu.

Return Values

Returns the HMENU to the submenu specified by ID_MENU.

Requirements

OS Versions: Windows CE .NET 4.2 and later
Header: Aygshell.h.

See Also

AYGShell Macros | SHCMBM_GETSUBMENU

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.