Chris E. Miller ToolTip (D1)

jicman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Apr 25 11:21:21 PDT 2014


On Saturday, 12 April 2014 at 10:41:19 UTC, hicman wrote:
> will the library build for x64?

It will build but not true x64.

>
> On Friday, 11 April 2014 at 12:33:27 UTC, FrankLike wrote:
>> 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