Represents a list item registered in the list resource.

Syntax

typedef struct {
  AL_ListItem listItem;
  char text[AL_MAX_LIST_TEXT];
} AL_ListItemData;

Members

listItem
AL_ListItem structure that represents the current data of the list item.
text
The display string of the list item.

Remarks

AL_GetListItemData function gets the current data of the specified list item and stores it in this structure.

The display string set by AL_AddListItem function, AL_AddListItemEx function, or AL_SetText function is stored in the text member. However, if the length of the set string including NUL exceeds AL_MAX_LIST_TEXT, it will be truncated to the length that can be stored in the text member. Also note that the listText member of listItem returns NULL.

Requirements

Header file:
lib.h
AdvancedMenu.h

See also



Last updated: 2020/10/09