Jump to content

Recommended Posts

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
Posted

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?

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...