Re: Tooltips
- Posted by Euman <euman at bellsouth.net> Jun 14, 2001
- 384 views
Another Correction, Darn Typo's Someone wrote me and asked how do I set the multi-column on a tooltip well, here it is.....(Derek you might want to add this) Find: global procedure setHintEx(integer id,sequence text,atom exflags) near the end of the procedure you should see this VOID=sendMessage(tooltipControl,lTTmsg,0,ti) Put the next line above the one I just typed above "Like this" VOID=sendMessage(tooltipControl, TTM_SETMAXTIPWIDTH, 0, 100) VOID=sendMessage(tooltipControl,lTTmsg,0,ti) I tried to set this up in lTTmsg but couldnt figure out how to connect the length on the string so that it would be automatic. Note: You will need to set the with where I have 100 on the end of the message to length you wish to wrap the line...' Alternatively you could do this: global procedure setHintEx(integer id,sequence text,atom exflags, integer len) VOID=sendMessage(tooltipControl, TTM_SETMAXTIPWIDTH, 0, len) and in your program do this: >>>>> (Here's the Change) setHintEx( id, "text", 0, 100 ) and this should work fine. Euman euman at bellsouth.net