Windows API Guide - Reference - Volume 1: Version 3.0 For the MS-DOS and PC-DOS Operating Systems


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

Go back to the alphabetical Structure listing. Go back to the Reference section index.


This page is copyright © 2000 Paul Kuliniewicz. Copyright Information. Go back to the Windows API Guide home page. E-mail: vbapi@vbapi.com Send Encrypted E-Mail This page is at http://www.vbapi.com/ref/n/nonclientmetrics.html

Категории