Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: image
Greetings,
 
Now after serveral hours of researching, asking on different forums and other i decided to ask here.
 
How to simply add a Picture to a tooltip when as for eksample mouse over a button it will show a picture of e.g. a Computer. I tried serveral methods but i just can't seem to get it work right.
 
If there is anyone out there who can give me a simple code and a explanation to why and how it works. If its a more advanced thing, feel free to post it anyway and try, if you can explain me how it works Smile | :)
 
Thank you very much!
Posted 20-Sep-12 9:57am
fRodzet354

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

There is no simple way to do this because default tooltips are text only. You'd have to create a custom control to handle this.
This CP article may be a good starting point for you: A ToolTip with Title, Multiline Contents, and Image[^]
  Permalink  
Comments
Sergey Alexandrovich Kryukov at 20-Sep-12 22:25pm
   
Nice. This is like nearly all work is already done for OP. My 5.
--SA

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

  Print Answers RSS
0 OriginalGriff 6,656
1 Sergey Alexandrovich Kryukov 6,400
2 CPallini 5,240
3 George Jonsson 3,584
4 Gihan Liyanage 2,625


Advertise | Privacy | Mobile
Web04 | 2.8.140921.1 | Last Updated 21 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100