Re: Help with SystemParametersInfo call
- Posted by Bernie Ryan <xotron at bl?ef?og.com> Nov 06, 2007
- 606 views
Pete: Here is the structure. <code> constant -- NONCLIENTMETRICS struct NCM_cbSize = w32allot(Long), NCM_iBorderWidth = w32allot(Long), NCM_iScrollWidth = w32allot(Long), NCM_iScrollHeight = w32allot(Long), NCM_iCaptionWidth = w32allot(Long), NCM_iCaptionHeight = w32allot(Long), NCM_lfCaptionFont_lfHeight = w32allot( Long ), NCM_lfCaptionFont_lfWidth = w32allot( Long ), NCM_lfCaptionFont_lfEscapement = w32allot( Long ), NCM_lfCaptionFont_lfOrientation = w32allot( Long ), NCM_lfCaptionFont_lfWeight = w32allot( Long ), NCM_lfCaptionFont_lfItalic = w32allot( Byte ), NCM_lfCaptionFont_lfUnderline = w32allot( Byte ), NCM_lfCaptionFont_lfStrikeOut = w32allot( Byte ), NCM_lfCaptionFont_lfCharSet = w32allot( Byte ), NCM_lfCaptionFont_lfOutPrecision = w32allot( Byte ), NCM_lfCaptionFont_lfClipPrecision = w32allot( Byte ), NCM_lfCaptionFont_lfQuality = w32allot( Byte ), NCM_lfCaptionFont_lfPitchAndFamily = w32allot( Byte ), NCM_lfCaptionFont_lfFaceName = w32allot( {32, Strz} ), NCM_iSmCaptionWidth = w32allot(Long), NCM_iSmCaptionHeight = w32allot(Long), NCM_lfSmCaptionFont_lfHeight = w32allot( Long ), NCM_lfSmCaptionFont_lfWidth = w32allot( Long ), NCM_lfSmCaptionFont_lfEscapement = w32allot( Long ), NCM_lfSmCaptionFont_lfOrientation = w32allot( Long ), NCM_lfSmCaptionFont_lfWeight = w32allot( Long ), NCM_lfSmCaptionFont_lfItalic = w32allot( Byte ), NCM_lfSmCaptionFont_lfUnderline = w32allot( Byte ), NCM_lfSmCaptionFont_lfStrikeOut = w32allot( Byte ), NCM_lfSmCaptionFont_lfCharSet = w32allot( Byte ), NCM_lfSmCaptionFont_lfOutPrecision = w32allot( Byte ), NCM_lfSmCaptionFont_lfClipPrecision = w32allot( Byte ), NCM_lfSmCaptionFont_lfQuality = w32allot( Byte ), NCM_lfSmCaptionFont_lfPitchAndFamily = w32allot( Byte ), NCM_lfSmCaptionFont_lfFaceName = w32allot( {32, Strz} ), NCM_iMenuWidth = w32allot(Long), NCM_iMenuHeight = w32allot(Long), NCM_lfMenuFont_lfHeight = w32allot( Long ), NCM_lfMenuFont_lfWidth = w32allot( Long ), NCM_lfMenuFont_lfEscapement = w32allot( Long ), NCM_lfMenuFont_lfOrientation = w32allot( Long ), NCM_lfMenuFont_lfWeight = w32allot( Long ), NCM_lfMenuFont_lfItalic = w32allot( Byte ), NCM_lfMenuFont_lfUnderline = w32allot( Byte ), NCM_lfMenuFont_lfStrikeOut = w32allot( Byte ), NCM_lfMenuFont_lfCharSet = w32allot( Byte ), NCM_lfMenuFont_lfOutPrecision = w32allot( Byte ), NCM_lfMenuFont_lfClipPrecision = w32allot( Byte ), NCM_lfMenuFont_lfQuality = w32allot( Byte ), NCM_lfMenuFont_lfPitchAndFamily = w32allot( Byte ), NCM_lfMenuFont_lfFaceName = w32allot( {32, Strz} ), NCM_lfStatusFont_lfHeight = w32allot( Long ), NCM_lfStatusFont_lfWidth = w32allot( Long ), NCM_lfStatusFont_lfEscapement = w32allot( Long ), NCM_lfStatusFont_lfOrientation = w32allot( Long ), NCM_lfStatusFont_lfWeight = w32allot( Long ), NCM_lfStatusFont_lfItalic = w32allot( Byte ), NCM_lfStatusFont_lfUnderline = w32allot( Byte ), NCM_lfStatusFont_lfStrikeOut = w32allot( Byte ), NCM_lfStatusFont_lfCharSet = w32allot( Byte ), NCM_lfStatusFont_lfOutPrecision = w32allot( Byte ), NCM_lfStatusFont_lfClipPrecision = w32allot( Byte ), NCM_lfStatusFont_lfQuality = w32allot( Byte ), NCM_lfStatusFont_lfPitchAndFamily = w32allot( Byte ), NCM_lfStatusFont_lfFaceName = w32allot( {32, Strz} ), NCM_lfMessageFont_lfHeight = w32allot( Long ), NCM_lfMessageFont_lfWidth = w32allot( Long ), NCM_lfMessageFont_lfEscapement = w32allot( Long ), NCM_lfMessageFont_lfOrientation = w32allot( Long ), NCM_lfMessageFont_lfWeight = w32allot( Long ), NCM_lfMessageFont_lfItalic = w32allot( Byte ), NCM_lfMessageFont_lfUnderline = w32allot( Byte ), NCM_lfMessageFont_lfStrikeOut = w32allot( Byte ), NCM_lfMessageFont_lfCharSet = w32allot( Byte ), NCM_lfMessageFont_lfOutPrecision = w32allot( Byte ), NCM_lfMessageFont_lfClipPrecision = w32allot( Byte ), NCM_lfMessageFont_lfQuality = w32allot( Byte ), NCM_lfMessageFont_lfPitchAndFamily = w32allot( Byte ), NCM_lfMessageFont_lfFaceName = w32allot( {32, Strz} ), SIZEOF_NCM = w32allotted_size() </code> Bernie My files in archive: WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan