webmedic Posted March 27, 2005 Share Posted March 27, 2005 (edited) I have been looking all over these forums and even found lots of dead links to cyberslugs gui wrapper functions. I did finaly find some stuff in the link in his sig bue none of the info in his listbox wrapper seems ot be working for what I need. So I did use the search first and have been searching for hours. Is there a simple way to be able to select multiple items in a listbox. FOr right now i declaer my list box and the whole thing is working. Then to check and see what is being selected I use this in my select routine. Case $msg[0] = $gui_run $gui_run_read_test = GuiCtrlRead($Drivelisting) MsgBox(0,"listview", "clicked=" & $gui_run_read_test) _BtnRun() This does properly return a single selected item but it does not return anything but the first item if I have multpile items selected. I would post the whole script but it is rather long and the last time I did Larry to me not to as it was to much to look at. If anybody is interested here it is. The posted code has the debuging code in it as listed above.DELETE_GUI.au3 Edited March 27, 2005 by webmedic Link to comment Share on other sites More sharing options...
Ejoc Posted March 27, 2005 Share Posted March 27, 2005 I dunno, I couldnt get it to work when I modified the GUICtrlCreateListview example script to accept multiselect. GUICtrlRead returns the first selected item like you know. Start -> Programs -> AutoIt v3 -> AutoIt Help File -> Index -> (The Function you are asking about)----- Links -----DllStruct UDFsRSA Crypto UDFs Link to comment Share on other sites More sharing options...
webmedic Posted March 27, 2005 Author Share Posted March 27, 2005 yes I found that out rather quick It would be reat if it returned an array like the other things in autoit. Were [0] is the number of items in the array. That would make it so easy to pull out all the selected items. Link to comment Share on other sites More sharing options...
webmedic Posted March 28, 2005 Author Share Posted March 28, 2005 I guess then since the lack of responce that this is a definate no. I see from other projects that there is no problem with check boxes. What about using some kind of gui methods with the cwebpage.dll would that solve some of the possible issues? Link to comment Share on other sites More sharing options...
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