please dont rip this site Prev Next

NONCLIENTMETRICS info  Overview  Group

The NONCLIENTMETRICS structure contains the scalable metrics associated with the nonclient area of a nonminimized window. This structure is used by the SPI_GETNONCLIENTMETRICS and SPI_SETNONCLIENTMETRICS actions of SystemParametersInfo.

typedef struct tagNONCLIENTMETRICS { 

    UINT    cbSize; 

    int     iBorderWidth; 

    int     iScrollWidth; 

    int     iScrollHeight; 

    int     iCaptionWidth; 

    int     iCaptionHeight; 

    LOGFONT lfCaptionFont; 

    int     iSmCaptionWidth; 

    int     iSmCaptionHeight; 

    LOGFONT lfSmCaptionFont; 

    int     iMenuWidth; 

    int     iMenuHeight; 

    LOGFONT lfMenuFont; 

    LOGFONT lfStatusFont; 

    LOGFONT lfMessageFont; 

} NONCLIENTMETRICS, FAR* LPNONCLIENTMETRICS; 

 

Members

cbSize
Specifies the size of the structure, in bytes.
iBorderWidth
Specifies the thickness, in pixels, of the sizing border.
iScrollWidth
Specifies the width, in pixels, of a standard vertical scroll bar.
iScrollHeight
Specifies the height, in pixels, of a standard horizontal scroll bar.
iCaptionWidth
Specifies the width, in pixels, of caption buttons.
iCaptionHeight
Specifies the height, in pixels, of caption buttons.
lfCaptionFont
Contains information about the caption font.
iSmCaptionWidth
Specifies the width, in pixels, of small caption buttons.
iSmCaptionHeight
Specifies the height, in pixels, of small captions.
iMenuWidth
Specifies the width, in pixels, of menu-bar buttons.
iMenuHeight
Specifies the height, in pixels, of a menu bar.
lfMenuFont
Contains information about the font used in menu bars.
lfStatusFont
Contains information about the font used in status bars.
lfMessageFont
Contains information about the font used in message boxes.

See Also

SystemParametersInfo 


file: /Techref/os/win/api/win32/struc/src/str12_24.htm, 3KB, , updated: 2000/4/7 11:20, local time: 2024/12/4 01:24,
TOP NEW HELP FIND: 
18.97.9.171:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://techref.massmind.org/techref/os/win/api/win32/struc/src/str12_24.htm"> NONCLIENTMETRICS</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to techref.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .