Trackbar size fixes

Jon Bright jon at siliconcircus.com
Fri Aug 1 12:51:55 CDT 2003


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




More information about the wine-devel mailing list