EnableMenuItem -- enable a menu item (V6.0)
EnableMenuItem(id, item$)
This function can be used to enable a menu item. 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.

identifier of a display that has a menu strip attached or 0 (see above)
identifier of the item inside the menu strip

Show TOC