Jump to content
Sign in to follow this  
Zedna

TreeViewGetItemText from another app

Recommended Posts

Zedna

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  

×

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.