Tooltips

new topic     » goto parent     » topic index » view thread      » older message » newer message

Someone wrot 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)

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:

setHint( id, "text", 0, 100 )

and this should work fine.


Euman
euman at bellsouth.net

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu