How to get Tooltip with icons?

Are you writing your own components and need help with how to set them up or have questions about the components you are deriving from ? Ask them here.
Post Reply
rajan_m
Knows some wx things
Knows some wx things
Posts: 39
Joined: Tue Jan 20, 2009 10:37 am
Location: chennai

How to get Tooltip with icons?

Post by rajan_m » Tue Feb 12, 2013 1:03 pm

Hi,

is there any way we can pass a icon to a tooltip along with the message as shown below?.
Attachments
Tool-tip-image.JPG
Sample tooltip
Tool-tip-image.JPG (9.66 KiB) Viewed 5487 times
Every exit is an entry somewhere else!

User avatar
doublemax
Moderator
Moderator
Posts: 14626
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: How to get Tooltip with icons?

Post by doublemax » Tue Feb 12, 2013 1:36 pm

No.

wxRichToolTip (available since 2.9.3) lets you create more fancy tooltips, but they can only be shown on demand (not automatically) and they wouldn't let you use two icons like in your picture.

http://docs.wxwidgets.org/trunk/classwx ... l_tip.html
Use the source, Luke!

rajan_m
Knows some wx things
Knows some wx things
Posts: 39
Joined: Tue Jan 20, 2009 10:37 am
Location: chennai

Re: How to get Tooltip with icons?

Post by rajan_m » Wed Feb 13, 2013 6:54 am

doublemax wrote:wxRichToolTip (available since 2.9.3) lets you create more fancy tooltips...
we are using wxWidgets version 2.8.10, any idea for that?
Every exit is an entry somewhere else!

Post Reply