xtd - Reference Guide  0.1.0
Modern c++17 framework to create console, gui and unit test applications on Windows, macOS and Linux.
xtd::forms::system_information Class Referencefinal

Provides information about the current system environment. More...

#include <system_information.h>

Inheritance diagram for xtd::forms::system_information:

Static Public Member Functions

static int32_t active_window_tracking_delay ()
 Gets the active window tracking delay. More...
 
static xtd::forms::arrange_direction arrange_direction ()
 Gets a value that indicates the direction in which the operating system arranges minimized windows. More...
 
static xtd::forms::arrange_starting_position arrange_starting_position ()
 Gets an ArrangeStartingPosition value that indicates the starting position from which the operating system arranges minimized windows. More...
 
static xtd::forms::boot_mode boot_mode ()
 Gets a BootMode value that indicates the boot mode the system was started in. More...
 
static xtd::drawing::size border_3d_size ()
 Gets the thickness, in pixels, of a three-dimensional (3-D) style window or system control border. More...
 
static int32_t border_multiplier_factor ()
 Gets the border multiplier factor that is used when determining the thickness of a window's sizing border. More...
 
static xtd::drawing::size border_size ()
 Gets the thickness, in pixels, of a flat-style window or system control border. More...
 
static xtd::drawing::size caption_button_size ()
 Gets the standard size, in pixels, of a button in a window's title bar. More...
 
static int32_t caption_height ()
 Gets the height, in pixels, of the standard title bar area of a window. More...
 
static int32_t caret_blink_time ()
 Gets the caret blink time. More...
 
static int32_t caret_width ()
 Gets the width, in pixels, of the caret in edit controls. More...
 
static std::string computer_name ()
 Gets the NetBIOS computer name of the local computer. More...
 
static xtd::drawing::size cursor_size ()
 Gets the maximum size, in pixels, that a cursor can occupy. More...
 
static bool dbcs_enabled ()
 Gets a value indicating whether the operating system is capable of handling double-byte character set (DBCS) characters. More...
 
static bool debug_os ()
 Gets a value indicating whether the debug version of USER.EXE is installed. More...
 
static xtd::drawing::size double_click_size ()
 Gets the dimensions, in pixels, of the area within which the user must click twice for the operating system to consider the two clicks a double-click. More...
 
static int32_t double_click_time ()
 Gets the maximum number of milliseconds that can elapse between a first click and a second click for the OS to consider the mouse action a double-click. More...
 
static bool drag_full_windows ()
 Gets a value indicating whether the user has enabled full window drag. More...
 
static xtd::drawing::size drag_size ()
 Gets the width and height of a rectangle centered on the point the mouse button was pressed, within which a drag operation will not begin. More...
 
static xtd::drawing::size fixed_frame_border_size ()
 Gets the thickness, in pixels, of the frame border of a window that has a caption and is not resizable. More...
 
static int32_t font_smoothing_contrast ()
 Gets the font smoothing contrast value used in ClearType smoothing. More...
 
static int32_t font_smoothing_type ()
 Gets the current type of font smoothing. More...
 
static xtd::drawing::size frame_border_size ()
 Gets the thickness, in pixels, of the resizing border that is drawn around the perimeter of a window that is being drag resized. More...
 
static bool high_contrast ()
 Gets a value indicating whether the user has enabled the high-contrast mode accessibility feature. More...
 
static int32_t horizontal_focus_thickness ()
 Gets the thickness of the left and right edges of the system focus rectangle, in pixels. More...
 
static int32_t horizontal_resize_border_thickness ()
 Gets the thickness of the left and right edges of the sizing border around the perimeter of a window being resized, in pixels. More...
 
static int32_t horizontal_scroll_bar_arrow_width ()
 Gets the width, in pixels, of the arrow bitmap on the horizontal scroll bar. More...
 
static int32_t horizontal_scroll_bar_bhumb_width ()
 Gets the width, in pixels, of the scroll box in a horizontal scroll bar. More...
 
static int32_t horizontal_scroll_bar_height ()
 Gets the default height, in pixels, of the horizontal scroll bar. More...
 
static xtd::drawing::size icon_size ()
 Gets the dimensions, in pixels, of the Windows default program icon size. More...
 
static xtd::drawing::size icon_spacing_size ()
 Gets the size, in pixels, of the grid square used to arrange icons in a large-icon view. More...
 
static int32_t icon_vertical_spacing ()
 Gets the height, in pixels, of an icon arrangement cell in large icon view. More...
 
static bool is_active_window_tracking_enabled ()
 Gets a value indicating whether active window tracking is enabled. More...
 
static bool is_combo_box_animation_enabled ()
 Gets a value indicating whether the slide-open effect for combo boxes is enabled. More...
 
static bool is_drop_shadow_enabled ()
 Gets a value indicating whether the drop shadow effect is enabled. More...
 
static bool is_flat_menu_enabled ()
 Gets a value indicating whether native user menus have a flat menu appearance. More...
 
static bool is_font_smoothing_enabled ()
 Gets a value indicating whether font smoothing is enabled. More...
 
static bool is_hot_tracking_enabled ()
 Gets a value indicating whether hot tracking of user-interface elements, such as menu names on menu bars, is enabled. More...
 
static bool is_icon_title_wrapping_enabled ()
 Gets a value indicating whether icon-title wrapping is enabled. More...
 
static bool is_keyboard_preferred ()
 Gets a value indicating whether the user relies on the keyboard instead of the mouse, and prefers applications to display keyboard interfaces that would otherwise be hidden. More...
 
static bool is_list_box_smooth_scrolling_enabled ()
 Gets a value indicating whether the smooth-scrolling effect for list boxes is enabled. More...
 
static bool is_menu_animation_enabled ()
 Gets a value indicating whether menu fade or slide animation features are enabled. More...
 
static bool is_menu_fade_enabled ()
 Gets a value indicating whether menu fade animation is enabled. More...
 
static bool is_minimize_restore_animation_enabled ()
 Gets a value indicating whether window minimize and restore animation is enabled. More...
 
static bool is_selection_fade_enabled ()
 Gets a value indicating whether the selection fade effect is enabled. More...
 
static bool is_snap_to_default_enabled ()
 Gets a value indicating whether the snap-to-default-button feature is enabled. More...
 
static bool is_title_bar_gradient_enabled ()
 Gets a value indicating whether the gradient effect for window title bars is enabled. More...
 
static bool is_tool_tip_animation_enabled ()
 Gets a value indicating whether tool_tip animation is enabled. More...
 
static int32_t kanji_window_height ()
 Gets the height, in pixels, of the Kanji window at the bottom of the screen for double-byte character set (DBCS) versions of Windows. More...
 
static int32_t keyboard_delay ()
 Gets the keyboard repeat-delay setting. More...
 
static int32_t keyboard_speed ()
 Gets the keyboard repeat-speed setting. More...
 
static xtd::drawing::size max_window_track_size ()
 Gets the default maximum dimensions, in pixels, of a window that has a caption and sizing borders. More...
 
static bool menu_access_keys_underlined ()
 Gets a value indicating whether menu access keys are always underlined. More...
 
static xtd::drawing::size menu_bar_button_size ()
 Gets the default width, in pixels, for menu-bar buttons and the height, in pixels, of a menu bar. More...
 
static xtd::drawing::size menu_button_size ()
 Gets the default dimensions, in pixels, of menu-bar buttons. More...
 
static xtd::drawing::size menu_check_size ()
 Gets the dimensions, in pixels, of the default size of a menu check mark area. More...
 
static xtd::drawing::font menu_font ()
 Gets the font used to display text on menus. More...
 
static int32_t menu_height ()
 Gets the height, in pixels, of one line of a menu. More...
 
static int32_t menu_show_delay ()
 Gets the time, in milliseconds, that the system waits before displaying a cascaded shortcut menu when the mouse cursor is over a submenu item. More...
 
static bool mid_east_enabled ()
 Gets a value indicating whether the operating system is enabled for the Hebrew and Arabic languages. More...
 
static xtd::drawing::size min_window_track_size ()
 Gets the default minimum dimensions, in pixels, that a window may occupy during a drag resize. More...
 
static xtd::drawing::size minimized_window_size ()
 Gets the dimensions, in pixels, of a normal minimized window. More...
 
static xtd::drawing::size minimized_window_spacing_size ()
 Gets the dimensions, in pixels, of the area each minimized window is allocated when arranged. More...
 
static xtd::drawing::size minimum_window_size ()
 Gets the minimum width and height for a window, in pixels. More...
 
static int32_t monitor_count ()
 Gets the number of display monitors on the desktop. More...
 
static bool monitors_same_display_format ()
 Gets a value indicating whether all the display monitors are using the same pixel color format. More...
 
static int32_t mouse_buttons ()
 Gets the number of buttons on the mouse. More...
 
static bool mouse_buttons_swapped ()
 Gets a value indicating whether the functions of the left and right mouse buttons have been swapped. More...
 
static xtd::drawing::size mouse_hover_size ()
 Gets the dimensions, in pixels, of the rectangle within which the mouse pointer has to stay for the mouse hover time before a mouse hover message is generated. More...
 
static int32_t mouse_hover_time ()
 Gets the time, in milliseconds, that the mouse pointer has to stay in the hover rectangle before a mouse hover message is generated. More...
 
static bool mouse_present ()
 Gets a value indicating whether the functions of the left and right mouse buttons have been swapped. More...
 
static int32_t mouse_speed ()
 Gets the current mouse speed. More...
 
static bool Mouse_wheel_present ()
 Gets a value indicating whether a mouse with a mouse wheel is installed. More...
 
static int32_t mouse_wheel_scroll_delta ()
 Gets the amount of the delta value of a single mouse wheel rotation increment. More...
 
static int32_t mouse_wheel_scroll_lines ()
 Gets the number of lines to scroll when the mouse wheel is rotated. More...
 
static bool native_mouse_wheel_support ()
 Gets a value indicating whether a mouse with a mouse wheel is installed. More...
 
static bool network ()
 Gets a value indicating whether a network connection is present. More...
 
static int32_t vertical_scroll_bar_width ()
 

Static Public Attributes

static int32_t icon_horizontal_spacing
 Gets the width, in pixels, of an icon arrangement cell in large icon view. More...
 

Detailed Description

Provides information about the current system environment.

Library
xtd.forms
Remarks
The system_information class provides static properties that can be used to get information about the current system environment. The class provides access to information such as Windows display element sizes, operating system settings, network availability, and the capabilities of hardware installed on the system. This class cannot be instantiated.
For more information about system-wide parameters, see "SystemParametersInfo" in the Platform SDK documentation at http://msdn.microsoft.com.

The documentation for this class was generated from the following file: