@WINMETRICS[n] : Returns the requested Windows system metric. All screen dimension metrics are returned in pixels. n is a number determining which metric to return.

 

Note: This function provides direct access to the GetSystemMetrics API. Not all available parameters are listed here and your Windows configuration may support additional parameters. See your Windows technical documentation for details.

 

n

Information returned

0

Width of screen on primary display monitor

1

Height of screen on primary display monitor

2

Width of the vertical scroll bar

3

Height of the horizontal scroll bar

4

Height of title bar

5

Width of window border

6

Height of window border

7

Width of dialog box border

8

Height of dialog box border

9

Height of thumb box on vertical scroll bar

10

Width of thumb box on horizontal scroll bar

11

Width of icon

12

Height of icon

13

Width of cursor

14

Height of cursor

15

Height of single line menu bar

16

Width of client area for full-screen window on primary display monitor

17

Height of client area for full-screen window on primary display monitor

18

Height of Kanji window

19

Mouse present flag

0 no

1 yes

20

Height of arrow bitmap on vertical scroll bar

21

Width of arrow bitmap on horizontal scroll bar

22

Debug version of Windows

0 no

1 yes

23

Left and right mouse buttons swapped

0 no

1 yes

28

Minimum width of a window

29

Minimum height of a window

30

Width of bitmaps in title bar

31

Height of bitmaps in title bar

32

Width of window frame that can be sized

33

Height of window frame that can be sized

34

Minimum tracking width of window

35

Minimum tracking height of window

41

Is Pen Windows installed?

0 no

1 yes

42

Is DBCS version of USER.EXE installed?

0 no

1 yes

43

Number of buttons on mouse

61

The default width, in pixels, of a maximized top-level window on the primary display monitor.

67

The value that specifies how the system is started:

0 Normal boot

1 Fail-safe boot

2 Fail-safe with network boot

70

Windows will display visual info in place of audible info

0 no

1 yes

73

Computer has a slow processor

0 no

1 yes

74

Is Windows set up for Arabic/Hebrew?

0 no

1 yes

75

Mouse has a wheel

0 no

1 yes

76

Coordinate of left side of virtual screen

77

Coordinate of top of virtual screen

78

Width in pixels of virtual screen

79

Height in pixels of virtual screen

80

Number of monitors on desktop