Gets the index number of the currently selected menu item.

Syntax

int AM_GetSelectedLineNumber(
  MENU_HANDLE menu
);

Parameters

menu
[in] Menu handle

Return value

Returns the index number of the currently selected menu item in the array of AM_MenuItem structures.
If no menu item is selected, AM_NO_LINE_SELECTED is returned.

Remarks


Requirements

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

Last updated: 2020/10/09