@WINSYSTEM[n[,v]]: Sets or returns the value of the requested Windows system-wide parameters.

 

To retrieve a parameter, the format is %@winsystem[n] where n is the appropriate GET number from the table below.

 

To set a parameter, the format is %@winsystem[n,v] where n is the appropriate SET number from the table below and v is the desired new value for that parameter.

 

Where the selection is a state, the legal values are 0 for off/disabled, and 1 for on/enabled.

 

Where the selection is a width or height, the values are in pixels.

 

Numeric input may be entered in either decimal format (a sequence of 0-9 digits) or in hexadecimal format ("0x" followed by a sequence of 0-F hex digits).

 

Note: This function provides direct access to the SystemParametersInfo API. Not all available parameters are listed here. See your Windows technical documentation for details, and use with caution.

 

GET

SET

Parameter to GET or SET

1

2

Beep state

5

6

Border width

10

11

Keyboard repeat speed (0 to 31)

13

13

Width of an icon cell

14

15

Screen saver time-out (seconds)

16

17

Screen saver state

22

23

Keyboard repeat delay setting (0-3).

24

24

Height of an icon cell

25

26

Icon title wrapping state

27

28

Pop-up menu alignment

37

38

Full-window dragging state

56

57

Show Sounds accessibility flag

68

69

Keyboard preference state (0=mouse, 1=keyboard)

70

71

Screen reviewer utility state

74

75

Font smoothing feature state

79

81

Time-out for the low-power phase of screen saving (seconds)

80

82

Time-out value for the power-off phase of screen saving (seconds)

83

85

Low-power phase of screen saving state

84

86

Power-off phase of screen saving state

89

90

Locale identifier for the system default input language.

93

94

Mouse Trails feature state. (0 or 1= disabled, >1= number of cursors in the trail)

95

95

Snap-to-default-button feature state

98

99

Width of the mouse pointer WM_MOUSEHOVER message trigger rectangle

100

101

Height of the mouse pointer WM_MOUSEHOVER message trigger rectangle

102

103

Time in the hover rectangle for the mouse pointer to trigger a WM_MOUSEHOVER message (milliseconds)

104

105

Number of lines to scroll when the mouse wheel is rotated

106

107

Time that the system waits before displaying a shortcut menu when the mouse cursor is over a submenu item (milliseconds)

110

111

IME status window state - per user (0=invisible, 1=visible)

112

113

Current mouse speed (1 to 20).

120

121

The number of milliseconds a thread can go without dispatching a message before the system considers it unresponsive.

122

123

The number of milliseconds the system waits before terminating an application that does not respond to a shutdown request.

124

125

The number of milliseconds the service control manager waits before terminating a service that does not respond to a shutdown request.

4096

4097

Active window tracking state

4098

4099

Menu animation feature state.

4100

4101

Combo box animation state.

4102

4103

List box smooth-scrolling effect state.

4104

4105

Gradient effect for window title bars.

4106

4107

Menu access keys underline state.

4108

4109

Active window tracking Z-order state.

4110

4111

Hot-tracking state.

4114

4115

Menu fade animation state.

4116

4117

Selection fade effect state.

4118

4119

ToolTip animation state.

4120

4121

Type of ToolTip animation (1 for fade, 0 for slide)

4122

4123

Cursor shadow state.

4124

4125

State of the Mouse Sonar feature

4126

4127

Mouse clicklock state

4128

4129

Mouse vanish feature state

4130

4131

Whether native User menus have flat menu appearance.

4132

4133

Drop shadow effect state.

4158

4159

State of all UI effects.

8192

8193

Time following user input during which the system will not allow applications to force themselves into the foreground (milliseconds)

8194

8195

Active window tracking delay (milliseconds)

8196

8197

The number of times SetForegroundWindow will flash the taskbar button when rejecting a foreground switch request.

8198

8199

Caret width in edit controls

8200

8201

Time delay before the primary mouse button is locked.

8202

8203

Type of font smoothing (32769=standard anti-aliasing, 32770=ClearType).

8204

8205

Contrast value used in ClearType smoothing (1000-2200)

8206

8207

Width of the left and right edges of the focus rectangle

8208

8209

Height of the top and bottom edges of the focus rectangle

.

GET

SET

Parameter to GET or SET