Re-enables a menu item disabled with the DisableItem macro.
Syntax
EnableItem("item-id")
EI("item-id")
Parameter | Description |
item-id | Identifier assigned to the menu item in the AppendItem macro. The item ID must be enclosed in quotation marks. |
Example
The following macro enables the Example menu item that was disabled in the DisableItem macro example:
EnableItem("mnu_example")
Comments
Windows Help ignores this macro if it is executed in a secondary window.
See Also
AppendItem, ChangeItemBinding, CheckItem, DeleteItem, DisableItem, InsertItem, InsertMenu, UncheckItem