Jump to content
Sign in to follow this  


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.

Share this post

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.


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.