SHGetMenu

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This macro retrieves the menu handle to the menu that owns a specified menu by sending an SHCMBM_GETMENU message.

Syntax

#define SHGetMenu(hWndMB) (HMENU)SendMessage((hWndMB), \
        SHCMBM_GETMENU, (WPARAM)0, (LPARAM)0);

Parameters

  • hWndMB
    Handle to the specified menu.

Return Value

This macro returns the HMENU to the menu that owns the menu specified by hWndMB.

Requirements

Header aygshell.h
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

AYGShell Macros
SHCMBM_GETMENU