Coolw Posted October 15, 2008 Posted October 15, 2008 (edited) 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 October 15, 2008 by Coolw My ProgramsMy WIP'sSteam Server Restarter
AdmiralAlkex Posted October 15, 2008 Posted October 15, 2008 _GUICtrlListView_GetSelectedIndices() returns all selected items in either an array or string, see helpfile for details .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
Coolw Posted October 16, 2008 Author Posted October 16, 2008 _GUICtrlListView_GetSelectedIndices() returns all selected items in either an array or string, see helpfile for details Thank you very much. I try to read through all my possibilities before I post here. That is exactly what I needed! My ProgramsMy WIP'sSteam Server Restarter
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now