selectedItems = WinXListBox_GetSelection (hListBox, @index[])
Gets the indecies of all the items in the list box that are currently selected
Parameter | Description |
---|---|
hListBox | The handle to the list box to get the selected items from |
@index[] | An array which will hold the indecies of the selected items |
The number of items that were selected and have been place in the array
You do not have to dimension the array before calling this function.
'find out how many items are selected PRINT WinXListBox_GetSelection (hLB, @index[]);" items are selected" |