Jump to content
Sign in to follow this  
JonnySpec

Position coordinates of list box item

Recommended Posts

JonnySpec

I have done a search of the board and have not found anything close to what I am needing to do.

I need to get the coordinate position of a selected item in a list box ( third party app not GUI created in autoit) I already found how to get the coordinates of a control but need the specific coordinates of the selected list item. I will then use those coordinates with mouseclickdrag function to drag the item to another portion of the app.

Any suggestions would be great.

Share this post


Link to post
Share on other sites
smashly

Hi,

Have a look in AutoIt Help file under "User Defined Functions Reference -> GuiListBox Management -> _GUICtrlListBox_GetSelItems() and _GUICtrlListBox_GetItemRect()

Cheers

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.