次の方法で共有


SHGetMenu (Windows Embedded CE 6.0)

1/6/2010

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