Sign in to follow this  
Followers 0
galpha

What is checked (treeview)

2 posts in this topic

#1 ·  Posted (edited)

Hi,

I would like to know how I could build an array of the items that are checked only on the 1st level of my tree(not the branches). Also the tree is build from elements already in an array if that matters.

E.g.(screenshot)

Posted Image

Also when array is built, is there a way to caclulate how many times each strings occur in this array ?

Edited by galpha

Share this post


Link to post
Share on other sites



Found the function

_TreeView_GetChecked($hWnd, $hNode)

$hWnd Handle to the control

$hNode Handle to the node

I'm not really sure on how to get the handle of a tree and how to get the handle of a node?

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