A tiny GetSystemMetrics question
Rein Klazes
wijn at online.nl
Sat Jul 4 01:32:05 CDT 2009
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.
More information about the wine-devel
mailing list