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

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -