get_menu


handle get_menu(handle window)

This function obtains a handle of the menu of a window.

Parameters

handle window

The handle of the window whose menu is required.

Return

handle

The handle of the menu of the window or null if it has no menu.

Notes

If the specified window is a child window, the value returned is undefined.