开发者

How to show systray tooltip longer than 128 characters

According to MSDN, NOTIFYICONDATA::s开发者_高级运维zTip only supports 128 characters of text. How do I workaround this limitation and show longer tooltip text?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜