Chris E. Miller ToolTip (D1)

FrankLike 1150015857 at qq.com
Fri Apr 11 05:33:25 PDT 2014


On Thursday, 14 November 2013 at 16:17:53 UTC, Heinz wrote:
> You have to manually set the tooltip's max width to a fixed 
> value using the tooltip handle and Win32 API, by doing this 
> you're telling the tooltip object it is a multiline tooltip and 
> from now on it will accept \r\n as end of line:
>
>     ttip = new ToolTip;
>     SendMessageA(ttip.handle, TTM_SETMAXTIPWIDTH, 0, 250);
>     ttip.setToolTip(find, "a=n (not approved)\r\no=n (not 
> outlooked)\r\nt>0 (total > 0));
>
> That's it, it works (i tested it).
>
> By the way, the DFL version on Chris' site is for D1 but 
> there's this version for D2 (i use both): 
> https://github.com/Rayerd/dfl/tree/master/win32/dfl


Now, dfl can use the dmd 2.065
you can see the fork :
https://github.com/FrankLIKE/dfl

fork(from https://github.com/Rayerd/dfl/)

Waiting Miller commit it.


More information about the Digitalmars-d-learn mailing list