Gets the index number of the list item that currently has the focus.

Syntax

int AL_GetSelectedIndex(
  LIST_HANDLE list
);

Parameters

list
[in] List handle

Return value

Index number of the list item that currently has focus.

Remarks

If no list item is registered in the list resource, AM_NO_LINE_SELECTED is returned.

Requirements

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

Last updated: 2020/10/09