Sign in to follow this  
Followers 0
suapte

Autoit with Control "SysTreeView"

9 posts in this topic

I have successfully ported the autoit dll in Perl 5.8. I did create a wrapper module for commonly used functions and it's working great. Three cheers to the Autoit team.

( I do have a plan to give this Perl module once it is complete). :o

I did not see the details for the control SysTreeView in the AutoItX...

Can anybody tell me how shall the control be handled ?

Thanks and regards,

~Sujit..

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I did not see the details for the control SysTreeView in the AutoItX...

Can anybody tell me how shall the control be handled ?

Thanks and regards,

~Sujit..

You must wait (I'm also waiting for this), until there will be ControlTreeView().

At this moment it isn't implemented yet so you must use your own solution with Win32 API.

Very much things is easy to make with DllCall & SendMessage & TVM_xxxx messages,

but there is a problem to GetText from TreeView which is in other running application.

Look at similar ControlListView() which is in AutoIt implemented

but I don't know if it's in AutoItX.

EDIT:

look at my post for inspiration of way to go:

UDF _TreeViewGetItemState

Edited by Zedna

Share this post


Link to post
Share on other sites

You must wait (I'm also waiting for this), until there will be ControlTreeView().

At this moment it isn't implemented yet so you must use your own solution with Win32 API.

Very much things is easy to make with DllCall & SendMessage & TVM_xxxx messages,

but there is a problem to GetText from TreeView which is in other running application.

Look at similar ControlListView() which is in AutoIt implemented

but I don't know if it's in AutoItX.

EDIT:

look at my post for inspiration of way to go:

UDF _TreeViewGetItemState

Do I understand right it's still not implemented in AutoIt 3.2.10?

Share this post


Link to post
Share on other sites

Do I understand right it's still not implemented in AutoIt 3.2.10?

No. You are wrong.

This is very old topic.

Now with AutoIt 3.2.10 you can:

1) use ControlTreeView() for basic treeview manipulations

2) use all _GUICtrlTreeView_xxx() UDF functions from standard include file GuiTreeView.au3

All is in the helpfile also with examples

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

No. You are wrong.

This is very old topic.

Now with AutoIt 3.2.10 you can:

1) use ControlTreeView() for basic treeview manipulations

2) use all _GUICtrlTreeView_xxx() UDF functions from standard include file GuiTreeView.au3

All is in the helpfile also with examples

Zedna, I mean using ControlTreeView with AutoItX (not with AutoIt itself). I didn't find any remarks about ControlTreeView in AutoItX Help. All I want is to write my scripts on jscript and connect to AutoIt via ActiveX/COM. Is it possible to work with ControlTreeView in this context? Thanks.

Edited by YoungRacoon

Share this post


Link to post
Share on other sites

Zedna, I mean using ControlTreeView with AutoItX (not with AutoIt itself). I didn't find any remarks about ControlTreeView in AutoItX Help. All I want is to write my scripts on jscript and connect to AutoIt via ActiveX/COM. Is it possible to work with ControlTreeView in this context? Thanks.

Sorry!

Jon must answer this your question about COM/ActiveX functionality.

Maybe make feature request topic in Bug Trac about that.

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

Sorry!

Jon must answer this your question about COM/ActiveX functionality.

Maybe make feature request topic in Bug Trac about that.

It's OK, thank you for the answer. Yes, I would make a feature request like this but it seems to me the implementation would take too much time :)

By the way, is it possible to get access to AutoIt source code so that we could implement this feature?

Edited by YoungRacoon

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

By the way, is it possible to get access to AutoIt source code so that we could implement this feature?

Beside the fact Jon implemented ControlTreeView into ActiveX/COM in version 3.2.12

answer is: NO it's not possible.

AutoIt has been opensource up to 3.1.0 version. All later versions are closed source only - but still freeware :) .

Edited by Zedna

Share this post


Link to post
Share on other sites

Beside the fact Jon implemented ControlTreeView into ActiveX/COM in version 3.2.12

answer is: NO it's not possible.

AutoIt has been opensource up to 3.1.0 version. All later versions are closed source only - but still freeware :) .

Yes, I've already made some tests as to ControlTreeView in 3.2.12. It works. The fact that AutoIt is free is much more important than unability to get source code. So things are getting better!

Thanks, Yuri.

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