Syntax
bool AM_SetEnabled(
MENU_HANDLE menu,
int id,
bool enable
);
Parameters
- menu
- [in] Menu handle
- id
-
[in] Item ID of menu item.
- enable
-
[in] Specify true to enable the enabled attribute, false otherwise.
Return value
Returns true if the function succeeds, false otherwise.
Remarks
Change the enabled attribute of the menu item specified by id and update the display.Requirements
Header file:
lib.hLibrary file:
AdvancedMenu.h
libAdvancedMenu.a
libSTARTUPOPH5000.a
Last updated: 2020/10/09