0

Trying to show a balloon hint in Windows normally works fine:

Looket here
• This is a short line

enter image description here


And you can have very long balloon hints:

Looket here
• This is a a very long line, certainly longer than the last example

enter image description here


And you can have multi-line hints:

Looket here
• This is a a very long line
• This is a bit shorter
• Shorter still
• Shortest

enter image description here

But Windows falls over dead when the first line is short

It seems that the maximum length of subsequent lines of a multi-line balloon hint is dictated by the length of the first line:

Looket here
• But short first line ⇐ shorter
• This is a a very long line ⇐ than this one
• This is a bit shorter
• Shorter still
• Shortest

enter image description here


How do i tell the Windows tooltip control to not cut off text on subsequent lines if the first line happens to be shorter than any subsequent lines?

Bonus Reading

  • MSDN Forums (2006): Tooltips Cut Off (bunch of keyboard jockies didn't bother to even try it for themselves, and instead just threw out random streams of consciousness)
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
  • The system seems to be calculating the width of the balloon window based on the length of the first line and clipping words on subsequent, longer lines. Can you add non-breaking spaces to the first line, to pad it out to the length of the longest? – Adrian Mole Sep 09 '22 at 16:04

0 Answers0