SystemParameter


The following enumerators are defined within the scope of the enum SystemParameter.

GetAccessTimeout Obtains information about the timeout period associated with the accessibility features. The parameter Pointer must point to an object of the class AccessTimeout that receives the information. The member Size (of the structure) and the parameter Handle should be set to sizeof(AccessTimeout).
GetActiveWindowTracking Indicates whether active window tracking (activating the window the mouse is on) is on or off. The parameter Pointer points to a bool variable that receives true for on and false for off.
GetActiveWindowTrackZOrder Indicates whether windows activated via active window tracking are to be brought to the top. The parameter Pointer points to a bool variable that receives true for on and false for off.
GetActiveWindowTrackTimeout The active window tracking delay (in milliseconds). The parameter Pointer points to an integer that receives the time.
GetAnimation Obtains the animation effects associated with user actions. The parameter Pointer points to an object of the class AnimationInformation that receives the information. The member Size (of the structure) and the parameter Handle should be set to sizeof(AnimationInformation).
GetBeep Indicates whether the warning beeper is on. The parameter Pointer should point to a bool variable that receives true if the beeper is on and false if it is off.
GetBorder Obtains the border multiplier factor that determines the width of the sizing borders of windows. The parameter Pointer points to an integer that receives this value.
GetComboboxAnimation Indicates whether the slide-open effect for combo boxes is enabled. The parameter Pointer points to a bool variable that receives true for enabled and false for disabled.
GetDefaultInputLanguage Obtains a handle of the keyboard layout for the system default input language. The parameter Pointer points to the 32-bit variable that receives this value.
GetDragFullWindows Determines whether dragging of full windows is enabled. The parameter Pointer points to a bool variable that receives true if enabled and false otherwise.
GetFastTaskSwitch Determines whether ALT+TAB and ALT+ESC task switching is enabled. The parameter Pointer points to an unsigned integer that receives 1 if task switching is disabled and 0 if it is enabled. Task switching is enabled by default.
GetFilterKeys Obtains information about the FilterKeys accessibility feature. The parameter Pointer points to an object of the class FilterKeys that receives the information. The member Size (of the structure) and the parameter Handle should be set to sizeof(FilterKeys).
GetFontSmoothing Indicates whether the font smoothing feature is enabled. This feature uses font anti-aliasing to smooth out font curves. The parameter Pointer points to a bool variable that receives true if the feature is enabled and false if it is not.
GetForegroundFlashCount The number of times the function SetForegroundWindow flashes the taskbar button when rejecting a foreground select request. The parameter Pointer points to an integer variable that receives the value.
GetForegroundLockTimeout The time (in milliseconds), following user input, during which applications are not permitted to force themselves into the foreground. The parameter Pointer points to an integer that receives the value.
GetGradientCaptions Indicates whether the gradient effect for Window title bars is enabled. The parameter Pointer points to a bool variable that receives true for enabled and false for disabled.
GetGridGranularity Obtains the current granularity value of the desktop sizing grid. The parameter Pointer points to an integer that receives the granularity.
GetHighContrast Obtains information about the HighContrast accessibility feature. The parameter Pointer points to an object of the class HighContrast that receives the information. The member Size (of the structure) and the parameter Handle should be set to sizeof(HighContrast).
GetIconMetrics Obtains the metrics associated with icons. The parameter Pointer should point to an object of the class IconMetrics that receives the information. The member Size (of the structure) and the parameter Handle should be set to sizeof(IconMetrics).
GetIconTitleLogicalFont Obtains the logical font information for the current Icon title font. The parameter Handle should specify sizeof(LogicalFont) and the parameter Pointer points to an object of the class LogicalFont to be filled in.
GetIconTitleWrap Determines whether icon title wrapping is enabled. The parameter Pointer points to a bool variable that receives true if enabled and false otherwise.
GetKeyboardDelay Obtains the keyboard repeat delay setting. Values range from 0 (approximately 250 milliseconds delay) to 3 (approximately 1 second delay). The actual delay associated with each value is hardware dependent. The parameter Pointer points to an integer variable that receives the setting.
GetKeyboardPreference Determines whether the keyboard is used instead of the mouse; where, applications display keyboard interfaces that would otherwise be hidden. The parameter Pointer points to a bool variable that receives true if the keyboard is used in preference to the mouse and false otherwise.
GetKeyboardSpeed Obtains the keyboard repeat speed setting. The value ranges from 0 (approximately 30 repetitions per second) through to 31 (approximately 2.5 repetitions per second). The actual repeat rates are hardware dependent. The parameter Pointer points to an integer variable that receives the setting.
GetListboxSmoothScrolling Indicates whether the smooth scrolling effect for list boxes is enabled. The parameter Pointer points to a bool variable that receives true for enabled and false for disabled.
GetLowPowerActive Determines whether the low-power phase of screen saving is enabled. The parameter Pointer points to a bool variable that receives true if enabled and false if disabled.
GetLowPowerTimeout Obtains the timeout value for the low-power phase of screen saving. The parameter Pointer points to an integer variable that receives the value.
GetMenuDropAlignment Determines whether pop-up menus are left-aligned or right-aligned, relative to the corresponding item in the menu-bar. The parameter Pointer points to a bool variable that receives true if left-aligned and false otherwise.
GetMinimizedMetrics Obtains the metrics associated with minimized windows. The parameter Pointer points to an object of the class MinimizedMetrics that receives the information. The member Size (of the structure) and the parameter Handle should be set to sizeof(MinimizedMetrics).
GetMouse Obtains the two mouse threshold values and the mouse acceleration. The parameter Pointer points to an array of three integers that receives these values. For further information, see function MouseEvent.
GetMouseHoverHeight Obtains the height (in pixels) of the rectangle within which the pointer is required to remain such that tracking generates a mouse hover message. The parameter Pointer points to an unsigned integer that receives the height.
GetMouseHoverTime Obtains the time (in milliseconds) that the pointer is required to remain in the hover rectangle such that tracking generates a mouse hover message. The parameter Pointer points to an unsigned integer that receives the time.
GetMouseHoverWidth Obtains the width (in pixels) of the rectangle within which the pointer is required to remain such that tracking generates a mouse hover message. The parameter Pointer points to an unsigned integer that receives the height.
GetMouseKeys Obtains information about the MouseKeys accessibility feature. The parameter Pointer points to an object of the class MouseKeys that receives the information. The member Size (of the structure) and the parameter Handle should be set to sizeof(MouseKeys).
GetMouseSpeed Obtains the current mouse speed. The mouse speed determines how far the pointer moves based on the distance the mouse moves. The parameter Pointer points to an integer that receives a value which ranges between 1 (slowest) and 20 (fastest). The default value is 10. The mouse speed can be set via mouse control panel application or by the system parameter SystemParameterSetMouseSpeed.
GetMouseTrails Indicates whether the Mouse Trails feature is enabled. This feature improves the visibility of cursor movements by drawing a trail of cursors. The parameter Pointer points to an integer variable that receives 0 when the feature is disabled. A value greater than 1 indicates that the feature is enabled and gives the number of cursors drawn in the trail. The parameter Handle is unused.
GetNonclientMetrics Obtains the metrics associated with the nonclient area of nonminimized windows. The parameter Pointer points to an object of the class NonclientMetrics that receives the information. The member Size (of the structure) and the parameter Handle should be set to sizeof(NonclientMetrics).
GetPowerOffActive Determines whether the power-off phase of screen saving is enabled. The parameter Pointer points to a bool variable that receives true if enabled and false if disabled.
GetPowerOffTimeout Obtains the timeout value for the power-off phase of screen saving. The parameter Pointer points to an integer variable that receives the value.
GetScreenReader Determines whether a screen reviewer utility is running. A screen reviewer utility directs textual information to an output device (such as a speech synthesizer or Braille display). When this flag is set, textual information should be provided by an application in situations where it would otherwise present the information graphically. The parameter Pointer is a pointer to a bool variable that receives true if a screen reviewer is running and false otherwise.
GetScreenSaveActive Determines whether screen saving is enabled. The parameter Pointer points to a bool variable that receives true if screen saving is enabled and false otherwise.
GetScreenSaverRunning Determines whether a screen saver is currently running on the window station of the calling process. The parameter Pointer points to a bool variable that receives true if a screen saver is currently running and false otherwise. Only the interactive window station ("WinSta0") can have a screen saver running.
GetScreenSaveTimeout Obtains the screen saver timeout value, in seconds. The parameter Pointer points to an integer variable that receives the value.
GetSerialKeys Obtains information about the SerialKeys accessibility feature. The parameter Pointer points to an object of the class SerialKeys that receives the information. The member Size (of the structure) and the parameter Handle should be set to sizeof(SemaphoreKeys).
GetShowSounds Determines whether the Show Sounds accessibility flag is on or off. When the feature is on, an application is expected to present information visually, in situations where it would otherwise present the information only in audible form. The parameter Pointer points to a bool variable that receives true if the feature is on and false if it is off. This system parameter is equivalent to obtaining the system metric SystemMetricSoundsShow (the recommended approach).
GetSoundSentry Obtains information about the SoundSentry accessibility feature. The parameter Pointer points to an object of the class SoundSentry that receives the information. The member Size (of the structure) and the parameter Handle should be set to sizeof(soundsEntry).
GetStickyKeys Obtains information about the StickyKeys accessibility feature. The parameter Pointer points to an object of the class StickyKeys that receives the information. The member Size (of the structure) and the parameter Handle should be set to sizeof(StickyKeys).
GetToggleKeys Obtains information about the ToggleKeys accessibility feature. The parameter Pointer points to an object of the class ToggleKeys that receives the information. The member Size (of the structure) and the parameter Handle should be set to sizeof(ToggleKeys).
GetWheelScrollLines Obtains the number of lines to scroll when the mouse wheel is rotated. The parameter Pointer points to an unsigned integer that receives the number of lines. The default value is 3.
GetWindowsExtension Windows 95: Indicates whether the windows extension, Windows Plus!, is installed. The parameter Handle should be set to 1. The parameter Pointer is unused. The function returns true if the extension is installed and false if it is not.
GetWorkarea Obtains the size of the work area on the primary display monitor. The work area is the portion of the screen not obscured by the system taskbar or by application desktop toolbars. The parameter Pointer points to an object of the class Rectangle that receives the coordinates of the work area (virtual screen coordinates). To obtain the work area of a monitor other than the primary display monitor, the function GetMonitorInformation may be used.
IconHorizontalSpacing Sets the width of an icon cell. The parameter Handle holds the width (in pixels).
IconVerticalSpacing Sets the height of an icon cell. The parameter Handle holds the height (in pixels).
LanguageDriver Not implemented.
SetAccessTimeout Sets the timeout period associated with the accessibility features. The parameter Pointer points to an object of the class AccessTimeout containing the new values. The member Size (of the structure) and the parameter Handle should be set to sizeof(AccessTimeout).
SetActiveWindowTracking Sets active window tracking (which activates the window over which the mouse is positioned) to either on or off. The parameter Pointer should be set to true for on and false for off.
SetActiveWindowTrackZOrder Indicates whether windows activated through active window tracking should be brought to the top of the z-order. The parameter Pointer should be set to true for on and false for off.
SetActiveWindowTrackTimeout Sets the active window tracking delay. The parameter Pointer should be set to the number of milliseconds to delay before activating the window that is under the mouse pointer.
SetAnimation Sets the animation effects associated with user actions. The parameter Pointer points to an object of the class AnimationInformation containing the new parameters. The member Size (of the structure) and the parameter Handle should be set to sizeof(AnimationInformation).
SetBeep Turns the warning beeper on or off. The parameter Handle specifies true for on and false for off.
SetBorder Sets the border multiplier factor that determines the width of the sizing border of a window. The parameter Handle specifies the new value.
SetComboboxAnimation Enables or disables the slide-open effect for combo boxes. The parameter Pointer should be set to true to enable the gradient effect and false to disable it.
SetCursors Reloads the system cursors. The parameter Handle should be set to zero and the parameter Pointer to null
SetDefaultInputLanguage Sets the default input language. The specified language must be displayable using the current system character set. The parameter Pointer points to an integer containing the handle of the keyboard layout for the default language.
SetDeskPattern Sets the current desktop pattern. The setting Pattern= setting is read from the file WIN.INI.
SetDeskWallpaper Sets the desktop wallpaper. The parameter Pointer points to a string containing the name of a bitmap file.
SetDoubleClickTime Sets the double-click time for the mouse to the value of the parameter Handle. The double-click time is the maximum number of milliseconds to elapse between the first and the second click of a double-click sequence. The function SetDoubleClickTime may also be used to set the double-click time. To obtain the current double-click time, the function GetDoubleClickTime may be used.
SetDoubleClickHeight Sets the height of the double-click rectangle to the value of the parameter Handle. The double-click rectangle is the rectangle within which the second click of a double-click sequence must occur for it to be regarded as a double-click.
SetDoubleClickWidth Sets the width of the double-click rectangle to the value of the parameter Handle. The double-click rectangle is the rectangle within which the second click of a double-click sequence must occur for it to be regarded as a double-click.
SetDragFullWindows Sets dragging of full windows. The parameter Handle specifies true for on and false for off.
SetDragHeight Sets the height (in pixels) of the rectangle used for detecting the start of a drag operation. See also the system metric SystemMetricDragWidth.
SetDragWidth Sets the width (in pixels) of the rectangle used for detecting the start of a drag operation. See also the system metric SystemMetricDragHeight.
SetFastTaskSwitch Enables or disables ALT+TAB and ALT+ESC task switching. To enable the feature, the parameter Handle should be set to 1; to disable the feature it should be set to 0. Task switching is enabled by default.
SetFilterKeys Sets the parameters of the FilterKeys accessibility feature. The parameter Pointer points to an object of the class FilterKeys containing the new parameters. The member Size (of the structure) and the parameter Handle should be set to sizeof(FilterKeys).
SetFontSmoothing Enables or disables the font smoothing feature. Font smoothing uses font anti-aliasing to smooth out font curves. The parameter Handle is set to true to enable the feature and to false to disable it.
SetForegroundFlashCount Sets the number of times the function SetForegroundWindow flashes the taskbar button when rejecting a foreground select request. The parameter Pointer should be set to contain the number of times to flash.
SetForegroundLockTimeout Sets the time (in milliseconds) following user input during which applications are disallowed from forcing themselves into the foreground. The parameter Pointer should be set to hold the new timeout value.
SetGradientCaptions Enables or disables the gradient effect for window title bars. The parameter Pointer is set to true to enable the gradient effect and false to disable it.
SetGridGranularity Sets the granularity of the desktop sizing grid to the value of the parameter Handle.
SetHighContrast Sets the parameters of the HighContrast accessibility feature. The parameter Pointer points to an object of the class HighContrast containing the new parameters. The member Size (of the structure) and the parameter Handle should be set to sizeof(HighContrast).
SetIconMetrics Sets the metrics associated with icons. The parameter Pointer points to an object of the class IconMetrics containing the new parameters. The member Size (of the structure) and the parameter Handle should be set to sizeof(IconMetrics).
SetIcons Reloads the system icons. The parameter Handle should be set to zero and the parameter Pointer to null.
SetIconTitleLogicalFont Sets the font that is used for icon titles. The parameter Handle should specify sizeof(LogicalFont) and the parameter Pointer points to an object of the class LogicalFont.
SetIconTitleWrap Turns icon-title wrapping on or off. The parameter Handle specifies true for on and false for off.
SetKeyboardDelay Sets the keyboard repeat-delay setting. The parameter Handle must specify: 0, 1, 2 or 3; where, 0 is the shortest delay (approximately 250 milliseconds) and 3 is the longest delay (approximately 1 second). The actual delay associated with each value is hardware dependent.
SetKeyboardPreference Sets the keyboard preference. The parameter Handle specifies true when the keyboard is relied upon instead of the mouse. In this case, applications are expected to display keyboard interfaces that would otherwise be hidden. The parameter Handle is set to false when this feature is to be turned off.
SetKeyboardSpeed Sets the keyboard repeat-speed setting. The parameter Handle is a value ranging from 0 to 31; where, 0 sets the fastest speed (approximately 30 repetitions per second) and 31 sets the slowest speed (approximately 2.5 repetitions per second). The actual repeat rates are hardware dependent. If Handle is greater than 31, it is set to 31.
SetLanguageToggle Sets the hot key used for switching between input languages. The parameters Handle and Pointer are not used. The value sets the shortcut keys in the keyboard property sheets by rereading the registry. The registry must be set before this flag is used. The registry path is
 \HKEY_CURRENT_USER\keyboard layout\toggle.

Valid values are:

  • "1"=alt+shift,
  • "2"=ctrl+shift and
  • "3"=none.
SetListboxSmoothScrolling Enables or disables the smooth-scrolling effect for list boxes. The parameter Pointer is set to true to enable the smooth-scrolling effect and false to disable it.
SetLowPowerActive Activates or deactivates the low-power phase of screen saving. The parameter Handle is set to true to activate low-power phase or false to deactivate it. The parameter Pointer should be null.
SetLowPowerTimeout Sets the timeout value (in seconds) for the low-power phase of screen saving. The parameter Handle specifies the new value. The parameter Pointer should be null.
SetMenuDropAlignment Sets the alignment value of pop-up menus. The parameter Handle is set to true for right alignment and false for left alignment.
SetMinimizedMetrics Sets the metrics associated with minimized windows. The parameter Pointer points to an object of the class MinimizedMetrics containing the new parameters. The member Size (of the structure) and the parameter Handle should be set to sizeof(MinimizedMetrics).
SetMouse Sets the two mouse threshold values and the mouse acceleration. The parameter Pointer points to an array of three integers specifying the values. See function MouseEvent for further information.
SetMouseButtonSwap Swaps the meaning of the left and right mouse buttons. The parameter Handle specifies true to swap the meanings of the buttons and false to restore the original meanings.
SetMouseHoverHeight Sets the height (in pixels) of the rectangle within which the mouse pointer is required to stay for tracking to generate a mouse hover message. The parameter Handle holds the new height.
SetMouseHoverTime Sets the time (in milliseconds) that the mouse pointer is required to stay in the hover rectangle for tracking to generate a mouse hover message. This is used only when HoverDefault is passed in the member Hover (of structure MouseTrack) in the call to TrackMouseEvent. The parameter Handle holds the new time.
SetMouseHoverWidth Sets the width (in pixels) of the rectangle within which the mouse pointer is required to stay for tracking to generate a mouse hover message. The parameter Handle holds the new width.
SetMouseKeys Sets the parameters of the MouseKeys accessibility feature. The parameter Pointer points to an object of the class MouseKeys containing the new parameters. The member Size (of the structure) and the parameter Handle should be set to sizeof(MouseKeys).
SetMouseSpeed Sets the current mouse speed. The parameter Pointer points to an integer between 1 (slowest) and 20 (fastest). The default value is 10. This value may also be set via the mouse control panel application.
SetMouseTrails Enables or disables the Mouse Trails feature. The mouse trails feature draws trails of cursors. To disable the feature, the parameter Handle should be set to 0 or 1. To enable the feature, the parameter Handle should be set to a value greater than 1 to indicate the number of cursors drawn in the trail.
SetNonclientMetrics Sets the metrics associated with the nonclient area of nonminimized windows. The parameter Pointer points to an object of the class NonclientMetrics containing the new parameters. The member Size (of the structure) and the parameter Handle should be set to sizeof(NonclientMetrics).
SetPenWindows Loads or unloads pen windows. The parameter Handle is true when loading and false when unloading pen windows. The parameter Pointer should be set to null.
SetPowerOffActive Activates or deactivates the power-off phase of screen saving. The parameter Handle should be set to 1 to activate and 0 to deactivate the feature. The parameter Pointer should be set to null.
SetPowerOffTimeout Sets the timeout value (in seconds) for the power-off phase of screen saving. The parameter Handle specifies the new value. The parameter Pointer should be set to null.
SetScreenReader Indicates whether a screen review utility is running. The parameter Handle specifies true for on and false for off.
SetScreenSaveActive Sets the state of the screen saver. The parameter Handle specifies true to activate screen saving and false to deactivate it.
SetScreenSaverRunning Internal use only.
SetScreenSaveTimeout Sets the screen saver timeout value to the value of the parameter Handle. This is the time (in seconds) that the system must be idle before the screen saver is activated.
SetSerialKeys Sets the parameters of the SerialKeys accessibility feature. The parameter Pointer points to an object of the class SerialKeys containing the new parameters. The member Size (of the structure) and the parameter Handle should be set to sizeof(SerialKeys).
SetShowSounds Sets the ShowSounds accessibility feature on or off. The parameter Handle specifies true for on and false for off.
SetSoundSentry Sets the parameters of the SoundSentry accessibility feature. The parameter Pointer points to an object of the class SoundSentry containing the new parameters. The member Size (of the structure) and the parameter Handle should be set to sizeof(SoundSentry).
SetStickyKeys Sets the parameters of the StickyKeys accessibility feature. The parameter Pointer points to an object of the class StickyKeys containing the new parameters. The member Size (of the structure) and the parameter Handle should be set to sizeof(StickyKeys).
SetToggleKeys Sets the parameters of the ToggleKeys accessibility feature. The parameter Pointer points to an object of the class ToggleKeys. The member Size (of the structure) and the parameter Handle should be set to sizeof(ToggleKeys).
SetWheelScrollLines Sets the number of lines to scroll when the mouse wheel is rotated. The parameter Handle holds the number of lines. The number of lines is the number of lines to scroll when the mouse wheel is rolled without using modifier keys. If 0 is specified, no scrolling occurs. When the specified number of lines to scroll exceeds the number of lines viewable or is WheelPageScroll, the scroll operation is interpreted as clicking once in the page down or page up regions of the scroll bar.
SetWorkarea Sets the size of the work area. The work area is the portion of the screen not obscured by the system taskbar or by desktop toolbars. The parameter Pointer is a pointer to a Rectangle that specifies the new work area rectangle, (in virtual screen coordinates). When multiple display monitors are present, the work area of the monitor containing the specified rectangle is set. If pointer is null, the function sets the work area of the primary display monitor to the full screen.

Details

Name Space IPlusPlus::Windows
Assembly IPlusPlus.Constants.dll