[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: x-display-pixel-width/height inconsistency

From: YAMAMOTO Mitsuharu
Subject: Re: x-display-pixel-width/height inconsistency
Date: Wed, 20 Mar 2013 07:25:30 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shij┼Ź) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Tue, 19 Mar 2013 09:39:07 +0900, YAMAMOTO Mitsuharu <address@hidden> 
>>>>> said:

> But the actual return value is different among the platforms:

>   * W32 port: Dimension of the primary monitor. (Not actually tested,
>     but guessed from the code and API documentations.)

Could someone using multi-monitor setups on W32 check if this guess is
correct?  I'm confused because an API reference in English (*1) says
"If this value (argument) is NULL, GetDC retrieves the DC for the
entire screen", whereas another reference in Japanese (*2) says "Given
NULL, GetDC retrieves the DC for the primary monitor.  To retrieve DCs
for other monitors, use EnumDisplayMonitors and CreateDC".

*2: http://msdn.microsoft.com/ja-jp/library/cc428664.aspx

                                     YAMAMOTO Mitsuharu

reply via email to

[Prev in Thread] Current Thread [Next in Thread]