Which is the QSystemTrayIcon tooltip max length in Windows?

Viewed 656

I read in the Qt 5.8 documentation of QSystemTrayIcon::toolTip that:

This property holds the tooltip for the system tray entry.

On some systems, the tooltip's length is limited. The tooltip will be truncated if necessary.

Then I would like to know which is the limit in Windows 10.

I saw in About Tooltip Controls that

Note The maximum length for standard tooltip text is 80 characters. For more information, see the NMTTDISPINFO structure. Multiline tooltip text can be longer.

Then, I have a multiline tooltip create with Qt and I saw that in Windows 10 the max length is 123 characters (or maybe a little more if they count the newline character, say ~130).

My question is: is this (~130 char) the max length for a multiline tooltip in Windows 10? Could I get this information from Qt depending of the system (if the application is running on different OS), so that I can change properly the tooltip text?

Thanks everyone

1 Answers
Related