UncheckItem (or UI)

Removes the check mark from a menu item added to a Windows Help menu with the CheckItem macro. The check mark indicates the state of a toggle-type command: on or off, show or hide, and so on.

Syntax

UncheckItem("item-id")

UI("item-id")

Parameter Description

item-id Identifies the menu item to uncheck. Use the identifier assigned to the item in the AppendItem macro. The item ID must be enclosed in quotation marks.

Example

The following macro removes the check mark from the menu item identified by “time_item”:

UncheckItem("time_item")

Comments

To check a menu item, use the CheckItem macro.

Windows Help ignores this macro if it is executed in a secondary window.

See Also

AppendItem, ChangeItemBinding, CheckItem, DeleteItem, DisableItem, EnableItem, InsertItem, InsertMenu