windows - Tooltip text truncated -


i found out sometimes, text on tooltip not displayed. here's example such text:

wwwww wwww, ww wwwwwwww

wwwwwwwwww wwwwwwwwwwwww wwwwwwwww

screenshot:

screenshot

my tooltip creation code (wtl):

ctooltipctrl tooltip; toolinfo toolinfo;  tooltip.create(window, null, null, tts_nofade);  toolinfo = ctoolinfo(ttf_idishwnd | ttf_track | ttf_absolute,      tooltip, 0, null, l"www...");  tooltip.addtool(&toolinfo);  tooltip.sendmessage(ttm_settitle, (wparam)hicon, (lparam)l"title"); 

is known issue? appreciated. thanks!

looks calling tooltip.setmaxtipwidth(maxint); fixes it.

non-wtl version: sendmessage(..., ttm_setmaxtipwidth, 0, maxint);


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -