CALL "W$MENU" USING WMENU-DISABLE menuHandle [ID] GIVING returnCode |
WMENU-DISABLE | Constant | |
menuHandle | USAGE HANDLE | Specifies the handle of an existing menu. |
ID | any numeric data item or numeric literal | Specifies the menu entry to be disabled. If this parameter is omitted, the entire menu is disabled. |
<=0 | Operation failed. |
>0 | Operation successful. |