I would like to change size and time tooltip appears. How would I do this?
Thank you
Harvey
Harvey
I would like to change size and time tooltip appears. How would I do this?
Harvey,
Also, FWH now supports an array instead of a text for a tooltip, using this format:
oControl:cToolTip := { cToolTipText, [cHeader, [nIcon]], [nForeColor], [nBackColor] }
Thanks for the quick resoponse.
I use "This is a" + CRLF + "multiline tooltip" + CRLF + "test" but there seems to be a limit on the amount of text. In 16bit never had a problem. Now the larger tooltips flash off and on until I make them smaller. I put one of my larger tips in tooltip.prg sample and same thing flashing.
Any Idea whats going on?
#define TTM_SETMAXTIPWIDTH (WM_USER + 24)
...
hWnd = CreateToolTip( ... )
SendMessage( hWnd, TTM_SETMAXTIPWIDTH, 0, <nNewLength> )
...Harvey,
Do you mean the tooltip width or the amount of text that it shows ?
Whats the Len() of your used tooltip text ?
#define TTM_SETDELAYTIME (WM_USER + 3)
#define TTDT_AUTOPOP 2
...
hWnd = CreateToolTip( ... )
SendMessageDelay( hWnd, TTM_SETDELAYTIME, TTDT_AUTOPOP, 32767 )
...