Duane Clark wrote:

>  From the Wine include file:
>
> winuser.h:#define SM_CYCAPTION         4
>
> So I don't think we want to use that value.

That's just the value for passing to GetSystemMetrics. The actual value returned will be either:

sysMetrics[SM_CYCAPTION] = 20;

or

sysMetrics[SM_CYCAPTION] = SYSMETRICS_GetRegistryMetric(hkey, "CaptionHeight", 18)
+ 1; /* for the separator? */



-- Jon Bright Lead Programmer, Silicon Circus Ltd. http://www.siliconcircus.com




Reply via email to