Allows you to find out whether the checkmark

is displayed in front of a menu option (popup menu or drop-down menu).
// Is a checkmark displayed in front of "OPT_IconBar"?
ResMarking = MenuIsMarked(OPT_IconBar)
Syntax
<Result> = MenuIsMarked([<Window>, ] <Menu option>)
<Result>: Boolean
- True if a checkmark is displayed in front of the specified menu option,
- False otherwise.
<Window>: Optional window name
Name of the window containing the menu option.
If this parameter is not specified, MenuIsMarked will handle the current window.
<Menu option>: Option name
Name of the menu option to use. This name is defined in the description window of the menu option.
This name must be specified without quotes. This option can also correspond to the sequence of shortcuts used to access the option.
Remarks
This function is equivalent to the
Checked property.