Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiplesel
#1
whats the best way to get the index of each selected item in list box?
thanks.
#2
after going through msdn for ages, found what i needed


Function Function6
Code:
Copy      Help
int hwnd = id(3 win("Dialog" "#32770"))
int i
int count=LB_GetCount(hwnd)
for i 0 count
,if(SendMessage(hwnd LB_GETSEL i 0) = 1) out i


Forum Jump:


Users browsing this thread: 1 Guest(s)