Jump to content
Sign in to follow this  
FireLord

Problem with a listview in another window

Recommended Posts

FireLord

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]

Share this post


Link to post
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
Sign in to follow this  

×