Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MN_GETHMENU message

Retrieves the menu handle for the current window.


#define MN_GETHMENU                     0x01E1

Parameters

wParam

This parameter is not used.

lParam

This parameter is not used.

Return value

Type: HMENU

If successful, the return value is the HMENU for the current window. If it fails, the return value is NULL.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

 

 

Show:
© 2017 Microsoft