A tiny GetSystemMetrics question

Nikolay Sivov bunglehead at gmail.com
Sat Jul 4 04:28:30 CDT 2009


Rein Klazes wrote:
> On Sat, 04 Jul 2009 00:10:02 +0400, you wrote:
>
>   
>> Hi.
>>
>> Trying to fix some ListView bugs I've found that on native (XP SP2) 
>> system this call:
>> ---
>> GetSystemMetrics(SM_CXICONSPACING)
>> ---
>> doesn't return the value specified in appearance -> advanced settings of
>> Display properties sheet.
>>
>> I've got 75 value for both cx and cy while I have set it to 43 in dialog 
>> box.
>>
>> This look weird for me. Does anybody know what is the reason of this 
>> behavior?
>>
>> P.S. Yes, I'm using default 96 dpi on this XP box (if it does matter).
>>
>>
>>     
>
> Values here are 94 and 62.
>
> The dialog presents the value
> "GetSystemMetrics(SM_C{X|Y}ICONSPACING)-IconSize"
>
> IOW the space _between_ icons, instead of distance from one icon to the
> next.
>
> Rein.
>   
Ah, I see. Looks you're right, thanks for reply.




More information about the wine-devel mailing list