Set the selectable attribute of the menu item.

Syntax

bool AM_SetSelectable(
  MENU_HANDLE menu,
  int id,
  bool selectable
);

Parameters

menu
[in] Menu handle
id
[in] Item ID of menu item.
selectable
[in] Specify true to enable the selectable attribute, false otherwise.

Return value

Returns true if the function succeeds, false otherwise.

Remarks

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

Requirements

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

Last updated: 2020/10/09