Jump to content

Get item selected from guicreatelistview


Coolw
 Share

Recommended Posts

For $c = 0 To $servernum
    If _GUICtrlListView_GetItemSelected($listofservers, $c) Then
        _DoHighlighted()
    EndIf
Next

Func _DoHighlighted()
        MsgBox(0, "Return", "The current item selected is " & $c)
EndFunc

Is there a more effective way of doing this?

_GUICtrlListView_GetItemSelected
only checks one of the the listviewitems, but I was wondering if there was something that checked all at once, something like
_GUICtrlComboBox_GetCurSel
Edited by Coolw
My ProgramsMy WIP'sSteam Server Restarter
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...