Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
4.60/5 (2 votes)
See more:
Hi,

I need to create a TreeCtrl, where the items should be a hyperlink, itemtext, and hyperlink

Ex: ROOT
|
|Child1 (Root item) SubChild1
|Child2 (Root item) SubChild2


In the above example, "Child1" and "Child2" should be hyperlinks, and "(Root item)" should be static text item, and "SubChild1" again a hyperlink.

How can I do this ....?

Thanks,
Jony
Posted
Updated 10-Feb-10 9:08am
v3

1 solution

Look for "TreeListView[^]" implementations, there are quite some different ones with different advantages and drawbacks, but usually they allow multiple columns for items, and hyperlink cells - or at least individually formatted cells (so you can simulate the hyperlink).

One you can find here[^] - not sure if it fits your needs.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900