Gets the enabled attribute of the menu item.

Syntax

bool AM_IsEnabled(
  MENU_HANDLE menu,
  int id
);

Parameters

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

Return value

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

Remarks

The initial value of the enabled attribute is set in enabled member of the AM_MenuItem structure of the menu item.
You can use the AM_SetEnabled function or the AM_SetEnabledRange function to change the value of the enabled attribute.

Requirements

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

Last updated: 2020/10/09