Important: The information in this document is obsolete and should not be used for new development.
CheckItem
Use theCheckItem
procedure to set the mark of a specific menu item to a checkmark or to remove a mark from a menu item.
PROCEDURE CheckItem (theMenu: MenuHandle; item: Integer; checked: Boolean);
theMenu
- A handle to the menu record of the menu containing the menu item whose mark you wish to set to a checkmark or whose mark you wish to remove.
item
- The item number of the menu item.
checked
- The
CheckItem
procedure sets or removes the mark of the item according to the information in thechecked
parameter.- To set the mark of a menu item to a checkmark, specify
TRUE
in thechecked
parameter. To remove a checkmark or any other mark from a menu item, specifyFALSE
in thechecked
parameter.DESCRIPTION
TheCheckItem
procedure sets the mark of the specified menu item to a checkmark or removes any mark from the menu item.SEE ALSO
See Listing 3-11 on page 3-61 for examples of setting the mark of a menu item.