CheckItem (or CI)

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

Syntax

CheckItem("item-id")

CI("item-id")

Parameter Description

item-id Identifier assigned to the item in the AppendItem macro. The item ID must be enclosed in quotation marks.

Example

The following macro checks the menu item identified by “time_item”:

CheckItem("time_item")

Comments

To clear the check mark from the item, use the UncheckItem macro.

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

See Also

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