Jim_Fort_Worth

Can the text of an item in a Tree-View be hyperlinks


Re: Visual C++ General Using Hyperlinks as text in a Tree-View control

kirants

What do you mean by hyperlinks Just for looks , or are you asking about the hyperlink type of action on clicking too

If so, no there is no such support with the tree-view common control. If you need it, you have to handle the tree view notifications in the parent window and do the necessary ( e.g. ShellExecute )





Re: Visual C++ General Using Hyperlinks as text in a Tree-View control

Viorel.

Jim_Fort_Worth wrote:
Can the text of an item in a Tree-View be hyperlinks

If you set the Track Select property of tree control to True (in Dialog Editor), or apply programmatically the TVS_TRACKSELECT style, then tree items will look like hyperlinks when you move the mouse over.