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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -