开发者

How to show systray tooltip longer than 128 characters

开发者 https://www.devze.com 2023-04-02 01:13 出处:网络
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

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

精彩评论

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

关注公众号