How to show systray tooltip longer than 128 characters

415 Views Asked by At

According to MSDN, NOTIFYICONDATA::szTip only supports 128 characters of text. How do I workaround this limitation and show longer tooltip text?

1

There are 1 best solutions below

0
On

Well, if it's a documented limit in the MSDN, then you can't supply a string that is longer than that. Are you trying to display something similar to a balloon tip?

Keep in mind that this is a tooltip, and such designed to give brief information about an event. If you need something longer, then you will have to draw your own custom window in the tray area.

Maybe take a look at this: http://www.codeproject.com/KB/shell/LiviuBirjegaCode.aspx