Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Index No. of Selected Item - SysListView32
#1
I have been using GetListViewItemText to get the item text, even using different columns.

I can't seem to figure out how to get the index number of the selected item :lol:

HELP!
#2
Code:
Copy      Help
Acc a=acc("" "LIST" win("" "ExploreWClass") "SysListView32" "" 0x1000)
a.Selection
out a.Name
out a.elem
#3
How would you select the item using the index number with ACC or another type of function?

Is below correct?

Code:
Copy      Help
Acc a=acc(a.elem "LIST" win("" "ExploreWClass") "SysListView32" "" 0x1000)
#4
Try this:

Acc a=acc("" "LIST" ...)
a.elem=index+1
a.Select(...)
#5
I am getting an unknown identifier: a.elem=index+1
#6
I am getting an error message Gintaras, did I do something wrong?
#7
Every line in my code must not be understood literally. For example, index may be a variable (int) containing item index.


Forum Jump:


Users browsing this thread: 1 Guest(s)