Re: Help with SystemParametersInfo call
- Posted by Pete Stoner <stoner.pete at g?ail.co?> Nov 06, 2007
- 620 views
Thanks Bernie, That works fine, using your stuct definition I get
if w32Func(xSystemParametersInfo,{SPI_GETNONCLIENTMETRICS, SIZEOF_NCM, NCM_struct, 0}) then printf(1, "%s\n", { w32fetch( NCM_struct, NCM_lfCaptionFont_lfFaceName )}) printf(1, "%d\n", {-w32fetch( NCM_struct, NCM_lfSmCaptionFont_lfHeight )}) end if
I get Trebuchet MS and 11, 12 & 13 for "Normal", "Large Fonts" and "Extra Large Fonts" settings respectively.. Just what I needed. Thanks again, PeteS