List display functions of the AdvancedMenu library display the screen according to the definition of the screen design and provide functions for displaying a scrollable list in a specified location.

Functions

Name Description
AL_AddListItem Register a list item defined by AL_ListItem structure in the list resource.
AL_AddListItemEx Register a list item defined by the parameters of the function in the list resource.
AL_CreateList Generates a list resource according to the menu items, options, start position of list area and number of its rows, and returns a list handle.
AL_ExecList Waits for input from the key in the list display and returns an event if there is any input.
AL_GetLines Gets the number of list items registered in the list resource.
AL_GetListItemData Gets the list item data.
AL_GetMenuHandle Gets the menu handle for the menu resource contained in the list resource.
AL_GetSelectedIndex Gets the index number of the list item that currently has the focus.
AL_GetStartIndex Get the index number of the list item displayed at the beginning of the list area.
AL_IsChecked Gets the checked attribute of the list item.
AL_ReleaseList Releases the list resource.
AL_RepaintList Redraw the list screen.
AL_SelectIndex Specifies how to display the focus.
AL_SetChecked Sets the checked attribute of the list item.
AL_SetPaletteIndex Set the palette index of the list item.
AL_SetText Sets the display string for the list item.
AL_SetUserParam1 Sets userParam1 of the list item.
AL_SetUserParam2 Sets userParam2 of the list item.
AL_SetUserParam3 Sets userParam3 of the list item.
AL_ShowList Display the list screen.
AL_SortListItem Sorts the list items.

See also

Last updated: 2021/08/23