CALL "W$MENU" USING WMENU-SHOW menuHandle [windowHandle] GIVING returnCode |
WMENU-SHOW | Constant | |
menuHandle | USAGE HANDLE | Specifies the handle of an existing menu. Setting this parameter to 0 removes the menu. |
windowHandle | USAGE HANDLE | Specifies the window where the menu has to be displayed. If this parameter is omitted then the menu is displayed on the current window. This parameter is ignored when the menu is shown on the system tray. |
<=0 | Operation failed. |
>0 | Operation successful. |