1 Attachment(s)
Problem with setting a trayicon Tooltip...
My problem is.. How to set an icon for the tooltip...
And also how to have the first line in basic... Exactly like the screenshot i have attached... It has an icon and the first line is basic...
See what i have done..
Code:
trayIcon->setToolTip("<b>My Program :D</b>\nDouble click to show the window.\nMiddle click to exit the application.\nRight click for some options.");
But the \n doesn't work because i had added <b></b>
Any ideas?
Re: Problem with setting a trayicon Tooltip...
For a newline you need to use the html tag for inserting newlines, for the image you need to use the html tag for inserting images.