Previous topic

SystemFont

Next topic

SystemOptions

This Page

phoenix_title SystemMetricΒΆ

The SystemMetric enumeration provides the following values:

Description Value
SYS_MOUSE_BUTTONS Number of buttons on mouse, or zero if no mouse was installed.
SYS_BORDER_X Width of single border.
SYS_BORDER_Y Height of single border.
SYS_CURSOR_X Width of cursor.
SYS_CURSOR_Y Height of cursor.
SYS_DCLICK_X Width in pixels of rectangle within which two successive mouse clicks must fall to generate a double-click.
SYS_DCLICK_Y Height in pixels of rectangle within which two successive mouse clicks must fall to generate a double-click.
SYS_DRAG_X 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.
SYS_DRAG_Y 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.
SYS_EDGE_X Width of a 3D border, in pixels.
SYS_EDGE_Y Height of a 3D border, in pixels.
SYS_HSCROLL_ARROW_X Width of arrow bitmap on horizontal scrollbar.
SYS_HSCROLL_ARROW_Y Height of arrow bitmap on horizontal scrollbar.
SYS_HTHUMB_X Width of horizontal scrollbar thumb.
SYS_ICON_X The default width of an icon.
SYS_ICON_Y The default height of an icon.
SYS_ICONSPACING_X Width of a grid cell for items in large icon view, in pixels. Each item fits into a rectangle of this size when arranged.
SYS_ICONSPACING_Y Height of a grid cell for items in large icon view, in pixels. Each item fits into a rectangle of this size when arranged.
SYS_WINDOWMIN_X Minimum width of a window.
SYS_WINDOWMIN_Y Minimum height of a window.
SYS_SCREEN_X Width of the screen in pixels.
SYS_SCREEN_Y Height of the screen in pixels.
SYS_FRAMESIZE_X Width of the window frame for a THICK_FRAME window.
SYS_FRAMESIZE_Y Height of the window frame for a THICK_FRAME window.
SYS_SMALLICON_X Recommended width of a small icon (in window captions, and small icon view).
SYS_SMALLICON_Y Recommended height of a small icon (in window captions, and small icon view).
SYS_HSCROLL_Y Height of horizontal scrollbar in pixels.
SYS_VSCROLL_X Width of vertical scrollbar in pixels.
SYS_VSCROLL_ARROW_X Width of arrow bitmap on a vertical scrollbar.
SYS_VSCROLL_ARROW_Y Height of arrow bitmap on a vertical scrollbar.
SYS_VTHUMB_Y Height of vertical scrollbar thumb.
SYS_CAPTION_Y Height of normal caption area.
SYS_MENU_Y Height of single-line menu bar.
SYS_NETWORK_PRESENT 1 if there is a network present, 0 otherwise.
SYS_PENWINDOWS_PRESENT 1 if PenWindows is installed, 0 otherwise.
SYS_SHOW_SOUNDS 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.
SYS_SWAP_BUTTONS Non-zero if the meanings of the left and right mouse buttons are swapped; zero otherwise.
SYS_DCLICK_MSEC Maximal time, in milliseconds, which may pass between subsequent clicks for a float click to be generated.