remaining = WinXListBox_RemoveItem (hListBox, index)
Removes an item from a list box
Parameter | Description |
---|---|
hListBox | The handle to the list box to remove the item from |
index | The index of the item to remove |
The number of items remaining in the list, or $$LB_ERR on error
none
'remove the first item in the list IF WinXListBox_RemoveItem (hLB, 0) = $$LB_ERR THEN PRINT "The list box must have been empty" |