NONCLIENTMETRICS Structure
Type NONCLIENTMETRICS
cbSize As Long
iBorderWidth As Long
iScrollWidth As Long
iScrollHeight As Long
iCaptionWidth As Long
iCaptionHeight As Long
lfCaptionFont As LOGFONT
iSMCaptionWidth As Long
iSMCaptionHeight As Long
lfSMCaptionFont As LOGFONT
iMenuWidth As Long
iMenuHeight As Long
lfMenuFont As LOGFONT
lfStatusFont As LOGFONT
lfMessageFont As LOGFONT
End Type
NONCLIENTMETRICS-type variables store information about the metrics associated with the non-client areas of windows. A window's non-client area includes its title bar, menu bar, and border -- i.e., the things around its area. The metrics specify various properies shared by all non-client areas. Note that all widths and heights referred to in the structure are measured in pixels.
- cbSize
- The size in bytes of the structure.
- iBorderWidth
- The thickness of a window's sizing border.
- iScrollWidth
- The width of a standard vertical scroll bar.
- iScrollHeight
- The height of a standard horizontal scroll bar.
- iCaptionWidth
- The width of a caption button.
- iCaptionHeight
- The height of a caption button.
- lfCaptionFont
- Information about the logical font used to display text in a window's caption (title bar).
- iSMCaptionWidth
- The width of a small caption button.
- iSMCaptionHeight
- The height of a small caption button.
- iSMCaptionFont
- Information about the logical font used to display text in a small caption.
- iMenuWidth
- The width of a menu bar button.
- iMenuHeight
- The height of a menu bar button.
- lfMenuFont
- Information about the logical font used to display text in a menu bar.
- lfStatusFont
- Information about the logical font used to display text in a status bar.
- lfMessageFont
- Information about the logical font used to display text in message boxes.
Used by: SystemParametersInfo
Back to the index.
Go to Paul Kuliniewicz's Home Page.
E-mail: rogue953@hotmail.com
This page is at http://skyscraper.fortunecity.com/transmission/45/api/n/nonclientmetrics.html