Click here to Skip to main content
12,762,516 members (31,909 online)
Rate this:
Please Sign up or sign in to vote.
See more: image

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 :)

Thank you very much!
Posted 20-Sep-12 10:57am

1 solution

Rate this: bad
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[^]
Sergey Alexandrovich Kryukov 20-Sep-12 22:25pm
Nice. This is like nearly all work is already done for OP. My 5.

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

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170217.1 | Last Updated 21 Sep 2012
Copyright © CodeProject, 1999-2017
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