Code: Select all
SendMessage( hWnd, TTM_SETMAXTIPWIDTH, 0, 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 )