Name
IsMenuItemDisabled -- check if a menu item is disabled (V6.0)
Synopsis
result = IsMenuItemDisabled(id, item$)
Function
This function can be used to check whether a menu item is disabled or not. You have to pass the identifier of the display whose menu strip shall be used as well as the identifier of the item.

Please note that you need to pass the identifier of a display to this function. It is not sufficient to pass the identifier of a menu strip because single menu strips can be attached to multiple displays. If you want to address the context menu of a docky on AmigaOS4, pass 0.

Inputs
id
identifier of a display that has a menu strip attached or 0 (see above)
item$
identifier of the item inside the menu strip
Results
result
True if the menu item is disabled, False otherwise

Show TOC