FireLord Posted November 16, 2007 Share Posted November 16, 2007 Hi all, I am having trouble copying all of the items from a listview in another window to my own listview in my program. I tried using ControlGetHandle with the AutoIt Win Info tool and got the classname and instance like this: $xListview = ControlGetHandle("Find Player", "", "[CLASS:Listbox; INSTANCE:1]" ) and then I did: _GUICtrlListViewSetItemSelState( $tiltListview, -1, $i_selected = 1) but whenever I do that it says $i_selected is an undeclared variable. Please help. [center]See the Helpfile[/center] While Alive() DrinkWine(); }[center][/center] Link to comment Share on other sites More sharing options...
BananaFredSoft Posted November 16, 2007 Share Posted November 16, 2007 Try GUICtrlListViewSetItemSelState( $tiltListview, -1, 1) -ColinSite:www.bananafredsoft.comStuff:Simple Text Editor - MediaPlayer - Animator - BananaDB - BananaNotes - Chatta - Filesearch - Excuse GeneratorMy YouTube channel:http://www.youtube.com/user/colipat 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