Re: Help with SystemParametersInfo call

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu