Page 1 of 1

Tooltip request

Posted: Mon Jul 11, 2011 3:52 pm
by Patrizio
In Window.prg, row 3083:

Code: Select all

SendMessage( hWnd, TTM_SETMAXTIPWIDTH, 0, 300 )
Is it possibile to make customizable the value 300 ?


And, btw, i've found this: http://msdn.microsoft.com/en-us/library/bb760404.aspx.

For tooltip with very long text the delay time of 5000 ms (the autopop value) it's too low.

Is it possibile to implement code like this?

Code: Select all

SendMessage(hwnd, TTM_SETDELAYTIME, TTDT_INITIAL, nDelayTimeInitial)
SendMessage(hwnd, TTM_SETDELAYTIME, TTDT_AUTOPOP, nDelayTimeAutoPop)
SendMessage(hwnd, TTM_SETDELAYTIME, TTDT_RESHOW , nDelayTimeReshow )
 

Re: Tooltip request

Posted: Fri Aug 10, 2012 10:25 am
by gkuhnert
Hi,

Anything new on this? I'd also need tooltips to be showed for a longer time. It would be very nice if I could decide in my source code how long it would be displayed.

Thanks in advance!