Checks if a menu item is checked.
Takes userDefinedID (Int).
Returns the checked state of a menu item identified by userDefinedID.
BGI GUI
Parameters & Returns
Parameters
userDefinedIDInt
Returns
Int
Quick Summary
Checks if a menu item is checked.
Takes userDefinedID (Int).
Returns the checked state of a menu item identified by userDefinedID.
Technical Exegesis...
Returns the checked state of a menu item identified by userDefinedID. Searches menuMap for the item with matching userDefinedID and returns its IsChecked property. Returns 1 (true) if the item displays a checkmark, 0 (false) if unchecked, or -1 if the item is not found.
Use the same userDefinedID that was passed to bgiAppendSubMenuItem. Useful for querying toggle state before changing it or for saving menu configuration. The checked state is independent of enabled state.
Returns the checked state of a menu item identified by userDefinedID. Searches menuMap for the item with matching userDefinedID and returns its IsChecked property. Returns 1 (true) if the item displays a checkmark, 0 (false) if unchecked, or -1 if the item is not found.
Use the same userDefinedID that was passed to bgiAppendSubMenuItem. Useful for querying toggle state before changing it or for saving menu configuration. The checked state is independent of enabled state. Returns the current state including any changes made with bgiSetMenuItemChecked.