[Top][All Lists]

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

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

From: Dmitry Gutov
Subject: Re: x-display-pixel-width/height inconsistency
Date: Wed, 20 Mar 2013 03:15:06 +0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt)

YAMAMOTO Mitsuharu <address@hidden> writes:

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

It is correct.

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

Sounds like the Japanese version is the correct one.

reply via email to

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