Page History
...
Return's the handle of a window's menu, if any. OpenInsight does not return the HANDLE property for a menu entity. Use GetMenu() instead.
...
Parameter | Description |
---|---|
hWnd | The window's handle. Use the Get_Property(@window, 'HANDLE') call to read the window's handle. |
...
If menu_handle returns a positive number, this is the window's menu handle. If menu_handle returns 0, the window has no menu.
See Also
HANDLE property, DTHANDLE property
Example
Code Block |
---|
/* if the current window contains a menu, hMenu will contain the handle after the GetMenu() call */ declare function GetMenu hwnd = Get_Property(@window, 'HANDLE') hMenu = GetMenu(hwnd) |