HMENU GetMenu(hwnd) | ||||
HWND hwnd; | /* handle of window, */ |
The GetMenu function retrieves the handle of the menu associated with the given window.
hwnd
Identifies the window whose menu handle is retrieved.
The return value is the handle of the menu if the function is successful. It is NULL if the given window has no menu. It is undefined if the window is a child window.