Sign in to follow this  
Followers 0
Zedna

TreeViewGetItemText from another app

1 post in this topic

#1 ·  Posted (edited)

I have problem with obtain item text from treeview inside another application which generaly may not be AutoIt GUI.

Because in AutoIt is not implemented ControlTreeView()

I must use Windows API to do it.

I'm using DllStruct, DllCall and TVM_GETITEM.

It works fine when I'm this way manupulating with GUI treeview

like in this example from Holger: GUITreeView_Holger.au3

But when I'm trying the same way to manipulate with treeview in other app it's not working.

Note that every other messages are working OK:

TVM_GETNEXTITEM, TVM_SELECTITEM.

This means by me that handle of item is OK and problem is probably in something else.

My little app with treeview: treeview_app.au3

Main problem script with manipulating this treeview: treeview_manipulate.au3

Can someone help me with this?

Thanks a lot

GUITreeView_Holger.au3treeview_app.au3treeview_manipulate.au3

Edited by Zedna

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  
Followers 0