01-25-2010, 09:08 PM
of course. :oops: ..thanks so much!!!!!
Here is a "new function" based on that realization:
Function LB_GetSelectedItemsIndexArray
Thanks again, Stuart
Here is a "new function" based on that realization:
Function LB_GetSelectedItemsIndexArray
;/
function hlb ARRAY(int)&selitems
;Gets integer array of selected items 0-based index in a multiple-selection listbox.
int i n=SendMessage(hlb LB_GETSELCOUNT 0 0)
if(n)
,selitems.create(n)
,SendMessage(hlb LB_GETSELITEMS n &selitems[0])
Thanks again, Stuart