Set the visible attribute of the menu item.

Syntax

bool AM_SetVisible(
  MENU_HANDLE menu,
  int id,
  bool visible
);

Parameters

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

Return value

Returns true if the function succeeds, false otherwise.

Remarks

Change the visible attribute of the menu item specified by id and update the display.

Requirements

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

Last updated: 2020/10/09