How can I show a systray tooltip longer than 63 chars?

后端 未结 5 728
不知归路
不知归路 2021-02-02 12:48

How can I show a systray tooltip longer than 63 chars? NotifyIcon.Text has a 63 chars limit, but I\'ve seen that VNC Server has a longer tooltip.

How can I do what VNC S

5条回答
  •  礼貌的吻别
    2021-02-02 13:19

    From the MSDN documentation on the Win32 NOTIFYICONDATA structure:

    szTip

    A null-terminated string that specifies the text for a standard ToolTip. It can have a maximum of 64 characters, including the terminating null character.

    For Windows 2000 (Shell32.dll version 5.0) and later, szTip can have a maximum of 128 characters, including the terminating null character.

    It looks like the Windows Forms library supports the lowest common denominator here.

提交回复
热议问题