Jump to content

Get index of selected list view item


HeXetic
 Share

Recommended Posts

I am trying to get the index number of a selected item in a list view. In other words if a user selects one of the rows in the list view that can press a button and it will return the index number of the selected row. I looked at the _GUICtrlListView_GetHotItem function but that only appears to return the index of the item that the mouse is hovering over, however, this is the kind of thing i'm looking for.

Link to comment
Share on other sites

I am trying to get the index number of a selected item in a list view. In other words if a user selects one of the rows in the list view that can press a button and it will return the index number of the selected row. I looked at the _GUICtrlListView_GetHotItem function but that only appears to return the index of the item that the mouse is hovering over, however, this is the kind of thing i'm looking for.

Try _GUICtrlListView_GetSelectedCount()

When the words fail... music speaks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...