NAME

cxInWdgtScrollListItemsDelete - delete items listed in an array of character strings from a list widget
#include <cx/UI.h>

void cxInWdgtScrollListItemsDelete (const char *portname, const char *listEntriesString)
subroutine cxInWdgtScrollListItemsDelete (portname, listEntriesString)
character* portname, listEntriesString
portname
This is the name of the input parameter port whose widget is to get new items
listEntriesString
This is a string of newline terminated substrings that should be deleted from the list. "listEntriesString" should be a single null-terminated string composed of substrings representing each selected item. These substrings should be separated by newline characters("\n"). The last substring should also have a terminating newline.

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.

cxInWdgtScrollListItemsInsert(3E), cxInWdgtScrollListItemsSel(3E), cxInWdgtScrollListItemsSelSet(3E), cxInWdgtScrollListItemsSet(3E)
Last modified: Mon Nov 6 16:33:24 GMT 2000
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996

Website Feedback

If you would like a response from NAG please provide your e-mail address below.

(If you're a human, don't change the following field)
Your first name.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.