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

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

From: Norbert Unterberg <nepo_at_gmx.net>
Date: 2004-12-16 23:27:26 CET

Bodo Maass schrieb:

>>Thanks a lot for the fix. I tweaked your code so it still
>>works on NT4 (well, with just one monitor anyway).

> ::GetWindowRect(GetDesktopWindow(), &monitorRect);

Another possible way to deal with multi/single monitor support and older
applications is described in the MSDN library in the article "Multiple
Monitor Applications on Different Systems":

"To have your multiple monitor–aware application work both on systems
with and without multiple monitor support, link your application with
Multimon.h. You must also define COMPILE_MULTIMON_STUBS in exactly one C
file. If the system does not support multiple monitors, this returns
default values from GetSystemMetrics, and the multiple monitor functions
act as if there is only one display. On multiple monitor systems, your
application will work normally. If your application is written only for
Windows 2000/XP and Windows 98/Me, you do not need to link with
Multimon.h. [...]"

BTW, Windows 98/ME also support the multi monitor API.


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