Jump to content

Recommended Posts

I find that this tool is an excellent program for scripting programs for unattended installations. However, at the present, for the life of me, I am unable to get a treeview count;



MsgBox(1,"Number of Lines",$lc)

However, when I used the above func to get the treeview count it gives a return value of zero. Any ideas, in how to get the correct treeview count would be greatly appreciated.

Link to post
Share on other sites

The UDFs were made for AutoIt GUI Trees

you'll need the handle to the treeview, then try this

Const $TV_FIRST = 0x1100


$ret = DllCall("user32.dll","int","hwnd",$hwnd,"int",$TVM_GETCOUNT,"int", 0,"int", 0)


Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs


Don't argue with an idiot; people watching may not be able to tell the difference.


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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...