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

AW: [TSVN] balloon help problems with multiple monitors

From: Bodo Maass <bodo42_at_gmx.de>
Date: 2004-12-16 20:57:42 CET

> 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.
 
 Bodo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Dec 16 21:52:08 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.