The SystemMetric enumeration provides the following values:
Description |
Value |
---|---|
|
Number of buttons on mouse, or zero if no mouse was installed. |
|
Width of single border. |
|
Height of single border. |
|
Width of cursor. |
|
Height of cursor. |
|
Width in pixels of rectangle within which two successive mouse clicks must fall to generate a double-click. |
|
Height in pixels of rectangle within which two successive mouse clicks must fall to generate a double-click. |
|
Width in pixels of a rectangle centered on a drag point to allow for limited movement of the mouse pointer before a drag operation begins. |
|
Height in pixels of a rectangle centered on a drag point to allow for limited movement of the mouse pointer before a drag operation begins. |
|
Width of a 3D border, in pixels. |
|
Height of a 3D border, in pixels. |
|
Width of arrow bitmap on horizontal scrollbar. |
|
Height of arrow bitmap on horizontal scrollbar. |
|
Width of horizontal scrollbar thumb. |
|
The default width of an icon. |
|
The default height of an icon. |
|
Width of a grid cell for items in large icon view, in pixels. Each item fits into a rectangle of this size when arranged. |
|
Height of a grid cell for items in large icon view, in pixels. Each item fits into a rectangle of this size when arranged. |
|
Minimum width of a window. |
|
Minimum height of a window. |
|
Width of the screen in pixels. |
|
Height of the screen in pixels. |
|
Width of the window frame for a |
|
Height of the window frame for a |
|
Recommended width of a small icon (in window captions, and small icon view). |
|
Recommended height of a small icon (in window captions, and small icon view). |
|
Height of horizontal scrollbar in pixels. |
|
Width of vertical scrollbar in pixels. |
|
Width of arrow bitmap on a vertical scrollbar. |
|
Height of arrow bitmap on a vertical scrollbar. |
|
Height of vertical scrollbar thumb. |
|
Height of normal caption area. |
|
Height of single-line menu bar. |
|
1 if there is a network present, 0 otherwise. |
|
1 if PenWindows is installed, 0 otherwise. |
|
Non-zero if the user requires an application to present information visually in situations where it would otherwise present the information only in audible form; zero otherwise. |
|
Non-zero if the meanings of the left and right mouse buttons are swapped; zero otherwise. |
|
Maximal time, in milliseconds, which may pass between subsequent clicks for a double click to be generated. |
|
Time, in milliseconds, for how long a blinking caret should stay visible during a single blink cycle before it disappears. |
|
Time, in milliseconds, for how long a blinking caret should stay invisible during a single blink cycle before it reappears. |
|
Time, in milliseconds, for how long a caret should blink after a user interaction. |