Setting different tooltips for different TreeView nodes 
Author Message
 Setting different tooltips for different TreeView nodes

Is there a way of setting different tool tips for
different treeview nodes.

As the nodes are properties and not objects I am unable
to recast them with an extender object and set the
tooltiptext property.  

The add method also does not allow me to set the
tooltiptext for a particular node, unlike powerbuilder.  

There is also no mouseover event for the treeview.  IF
there was one that also returns the node that the mouse
is over, I could change the tool tip to fit the node the
mouse is over.

Is Microsoft going to expand on the capabilities of the
treeview?



Tue, 25 Oct 2005 04:52:21 GMT  
 Setting different tooltips for different TreeView nodes

Quote:

> Is there a way of setting different tool tips for
> different treeview nodes.

> As the nodes are properties and not objects I am unable
> to recast them with an extender object and set the
> tooltiptext property.

> The add method also does not allow me to set the
> tooltiptext for a particular node, unlike powerbuilder.

> There is also no mouseover event for the treeview.  IF
> there was one that also returns the node that the mouse
> is over, I could change the tool tip to fit the node the
> mouse is over.

> Is Microsoft going to expand on the capabilities of the
> treeview?

The TreeView? Most likely... For use with VB6, doubtful. VB6 is about as "Bug Fixed" and
"Updated" as it's going to get.

Here's an alternative.....

TreeView Control
"A seriously flexible, all VB TreeView control with support for IE Favorites and Outlook
Folder List Styles"

List of features includes....

"InfoTip (multi-line tooltip) support with full control over InfoTip colour"

http://vbaccelerator.com/codelib/comctl/treeview.htm

Read all "assembly" instructions carefully and get all required files. It works well...
but takes a try or two to get everything the load correctly.

--
Ken Halter - MS-MVP-VB - http://www.mvps.org/vbsight - Please keep it in the groups..



Tue, 25 Oct 2005 05:06:14 GMT  
 Setting different tooltips for different TreeView nodes
Dear Ken,

Thanks for the info.  So the basic TreeView is so limited
it is not viable for the developement of a proper
application.

DPC

Quote:
>-----Original Message-----



Quote:
>> Is there a way of setting different tool tips for
>> different treeview nodes.

>> As the nodes are properties and not objects I am unable
>> to recast them with an extender object and set the
>> tooltiptext property.

>> The add method also does not allow me to set the
>> tooltiptext for a particular node, unlike powerbuilder.

>> There is also no mouseover event for the treeview.  IF
>> there was one that also returns the node that the mouse
>> is over, I could change the tool tip to fit the node
the
>> mouse is over.

>> Is Microsoft going to expand on the capabilities of the
>> treeview?

>The TreeView? Most likely... For use with VB6, doubtful.

VB6 is about as "Bug Fixed" and
Quote:
>"Updated" as it's going to get.

>Here's an alternative.....

>TreeView Control
>"A seriously flexible, all VB TreeView control with

support for IE Favorites and Outlook
Quote:
>Folder List Styles"

>List of features includes....

>"InfoTip (multi-line tooltip) support with full control

over InfoTip colour"
Quote:

>http://vbaccelerator.com/codelib/comctl/treeview.htm

>Read all "assembly" instructions carefully and get all

required files. It works well...
Quote:
>but takes a try or two to get everything the load
correctly.

>--
>Ken Halter - MS-MVP-VB - http://www.mvps.org/vbsight -

Please keep it in the groups..

- Show quoted text -

Quote:

>.



Mon, 31 Oct 2005 07:34:54 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Set Treeview Nodes to different TextColor

2. TreeView : How to set a different color to node's Caption

3. TreeView : How to set a different color to node's Caption

4. TreeView : How to set a different color to node's Caption

5. TreeView : How to set a different color to node's Caption

6. TreeView : How to set a different color to node's Caption

7. Adding a node to a treeview from a different thread

8. Move Treeview Child Node To Different Parent

9. Different colors for Treeview nodes?

10. Moving Treeview Node to same level but different position

11. Macro to set different margins on different pages

12. disabling node tooltips in TreeView control

 

 
Powered by phpBB® Forum Software