Contents page

GetListItem()


    USAGE

ListItem = (struct ListItem *) GetListItem(ListInfo)

FUNCTION

This routine should ba called when the user has clicked on the List gadget (see InitListInfo). The selected item (if such exists) is highlighted and a pointer to it returned. ListItem.ActiveItem is updated to reflect this selection.

INPUTS

ListInfo = Pointer to ListInfo structure that describe the list.

RESULT

ListItem = Pointer to the selected ListItem, if it exists, or NULL if ther is none.

SEE ALSO

InitListInfo