Contents page

RemoveListItem()


    USAGE

        ListItem = (struct ListItem *) RemoveListItem(ListInfo)

    FUNCTION

        This takes the currently selected item and removes it from the list,
        returning a pointer to it. The list display is refreshed. This is useful if
        you want the user to be able to select items to remove from the list.

    INPUTS

        ListInfo = Pointer to a ListInfo structure that describes the list.

    RESULT

        ListItem = Pointer to the removed item, or NULL if there is nothing currently
                   selected to remove.

    SEE ALSO

        InsertListItem