SpIsMenuItemChecked

This function returns the state (checked/not checked) of the identified menu item.

Syntax: checked = spIsMenuItemChecked ( hwndMenu, id )

Parameters:
 * hwndMenu – Menu window handle.
 * id – Identity of the menu item.
 * Returns: True (1) – Menu item is checked.
 * False (0) – Menu item is not checked.