Syntax
int AM_GetSelectedLine(
MENU_HANDLE menu
);
Parameters
- menu
- [in] Menu handle
Return value
Returns the item ID of the currently selected menu item.
If no menu item is selected, AM_NO_LINE_SELECTED is returned.
If no menu item is selected, AM_NO_LINE_SELECTED is returned.
Remarks
Returns the id value of the AM_MenuItem structure that defines the currently selected menu item.Use this function to know which menu item is currently selected when you receive an event from the AM_ExecMenu function.
Requirements
Header file:
lib.hLibrary file:
AdvancedMenu.h
libAdvancedMenu.a
libSTARTUPOPH5000.a
Last updated: 2020/10/09