Name
DeselectMenuItem -- deselect a toggle menu item (V6.0)
Synopsis
DeselectMenuItem(id, item$)
Function
This function can be used to deselect a toggle menu item. You have to pass the identifier of the display whose menu strip shall be used as well as the identifier of the menu 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

Show TOC