Jump to content

How to get data out of a tree control


Recommended Posts

Posted
27 minutes ago, ParkerJonathan said:

I want to get the string out of a specific cell of a tree control. Why is this so difficult?

Difficult is a subjective term. I find anagrams difficult.

Posted

Its not so bad, you just need to think of it as a hash table that gets displayed as a tree. I think people get into trouble when they try to think of the tree control as a tree.

Posted

I think the tree control is a powerfull tool, to be able to leverage this tool you need to spend a bit of time to understand how to use it.

When I first used it I also though it was difficult, now I'd say it is a bit complex.

 

I encourage you to invest some time to master it!

One cool tool you can have a look to see the power of the Tree Control is Ton Plomp's variant probe available on the LAVA Code Repository

Posted
On 5/25/2018 at 9:15 PM, Neil Pate said:

Because the native tree control API is terrible.

Try something like this, it may make your life easier.

Thanks! this helps me get a 1D array of values in the first column but how about the second?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.