Click here to Skip to main content
15,742,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a treeview control in windows form application i need to add tooltip images to treeview nodes (diffrent nodes diffrent images).
any one pls help me..
Thanks in advance
rajesh.r4321 5-Aug-11 6:25am    
i tryed the solutions any one know how add diffrent tooltip images to diffrent nodes

Have a look here: ToolTip With Image C#[^]
Share this answer
You can use the class described in the link below:
Tooltip with Images

Then, supposing our Treeview is called treeView1, use the NodeMouseHover event like so:

private void treeView1_NodeMouseHover(object sender, TreeNodeMouseHoverEventArgs e)
   ToolTipWithImage t = new ToolTipWithImage();
   t.Text = "Hello";
   t.ImageFile = @"C:\aRandomImage.jpg";
Share this answer
rajesh.r4321 5-Aug-11 6:33am    
the image is populted on TREEVIEW but i need to populate on the specific node only

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