Gets the checked attribute of the menu item.

Syntax

bool AM_IsChecked(
  MENU_HANDLE menu,
  int id
);

Parameters

menu
[in] Menu handle
id
[in] Item ID of menu item.

Return value

Returns the checked attribute of the menu item specified by id.

Remarks

The checked attribute is used for the menu item that has checkbox or radio button.
Pressing the [SCAN] key changes the value of the checked attribute when the focus is on the menu item that has checkbox or radio button.
You can change the value of the checked attribute with AM_SetChecked function.

Requirements

Header file:
lib.h
AdvancedMenu.h
Library file:
libAdvancedMenu.a
libSTARTUPOPH5000.a

Last updated: 2020/10/09