Get the selectable attribute of the menu item.

Syntax

bool AM_IsSelectable(
  MENU_HANDLE menu,
  int id
);

Parameters

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

Return value

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

Remarks

The initial value of selectable attribute is set by selectable member of AM_MenuItem structure of the menu item.
You can change the value of selectable attribute with AM_SetSelectable function.

Requirements

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

Last updated: 2020/10/09