#include <cx/UI.h>void cxInWdgtScrollListItemsDelete (char *portname, char *listEntriesString)
subroutine cxInWdgtScrollListItemsDelete (portname, listEntriesString) character* portname, listEntriesString
This is the IRIS Explorer Widget Library call used to remove items from the named IRIS Explorer Scrolled List Widget. Items in "listEntriesString" are removed from the named list if they exist in the named list. "listEntriesString" should be a single null-terminated string composed of substrings representing each selected item. The widget parameter value will change to the empty string. Items requested to be deleted but not in the list are ignored.
Sample call:
cxInWdgtScrollListItemsDelete("Name List", 3, "Item 1\nItem 2\nItem 3\n");
This would result in deleting any prior list items, and stuffing list "Name List" with 3 list items, "Item 1", "Item 2" and "Item 3". The parameter value for that widget is the empty string.