Getting node name with mouse hover

Ldragon99

Member
Joined
Oct 13, 2007
Messages
10
Programming Experience
1-3
I want to display the tool tip for a tree node that the mouse hovers over. I have not had much luck searching for the way to do this yet. I have set the tooltip on application startup. How do I find out what node or child node the mouse is hovering over?
 
Thread moved to Treeviews forum.

Set the TooltipText property for the nodes when you add them to tree.
 
I have done that

I do add the tool tips whaaen I add the node through code. However when I hover over it I do not get the tooltip. Nothing happens. Is there something I am missing. Do I need to enable somehow. Also, How do I tell the application what node I am hovering over?
 
Treeview property ShowNodeToolTips must also be set True, it is False by default.

If you need to know which node mouse hovers you use the NodeMouseHover event. Do browse the members of the classes you seek in documentation.
 
Wow

Man I am not sure how I missed that. I guess I was looking for the hard way to do it. :) I guess it pays to walk away from the keyboard sometimes.
 
Back
Top