[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: AW: [TSVN] balloon help problems with multiple monitors

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-12-17 07:55:52 CET

Bodo Maass wrote:
>>Thanks a lot for the fix. I tweaked your code so it still
>>works on NT4 (well, with just one monitor anyway).
>>Committed in revision 2142.
>
>
> I noticed that in the section for the NT code, you wrote:
>
> GetClientRect(&monitorRect);
>
> This will return the client rect for the Balloon window, which at this point
> is (0,0,0,0). What the function should return is the rect of the primary
> monitor, which should be something like this:
>
> ::GetWindowRect(GetDesktopWindow(), &monitorRect);
>
> If you run this in the debugger and force it to execute the NT part by
> putting the execution cursor there, you'll see if it works.

Thanks for noticing. Fixed in revision 2143.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Dec 17 07:56:37 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.