The next AM_ExecMenu function will force the specified event to occur.

Syntax

void AM_SetEvent(
  MENU_HANDLE menu,
  int event
);

Parameters

menu
[in] Menu handle
event
[in] Value of the event.

Return value

None.

Remarks

When an event is set by this function, the event will be immediately returned when the AM_ExecMenu function is called next time.

You can clear the pending event by calling this function with the event parameter value set to 0.

Requirements

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

Last updated: 2020/10/04