xtd - Reference Guide  0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
system_information.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/static.h>
6 #include <xtd/drawing/font.h>
7 #include <xtd/drawing/size.h>
8 #include "../forms_export.h"
9 #include "arrange_direction.h"
11 #include "boot_mode.h"
12 
14 namespace xtd {
16  namespace forms {
26  public:
29 
32  static int32_t active_window_tracking_delay();
33 
38 
43 
48 
55 
58  static int32_t border_multiplier_factor();
59 
66 
72 
76  static int32_t caption_height();
77 
80  static int32_t caret_blink_time();
81 
84  static int32_t caret_width();
85 
91 
96 
100  static bool dbcs_enabled();
101 
104  static bool debug_os();
105 
110 
115  static int32_t double_click_time();
116 
120  static bool drag_full_windows();
121 
127 
133 
136  static int32_t font_smoothing_contrast();
137 
140  static int32_t font_smoothing_type();
141 
147 
152  static bool high_contrast();
153 
157  static int32_t horizontal_focus_thickness();
158 
163 
167 
171 
175 
179  static int32_t icon_horizontal_spacing();
180 
184 
189 
193  static int32_t icon_vertical_spacing();
194 
199 
205 
208  static bool is_drop_shadow_enabled();
209 
212  static bool is_flat_menu_enabled();
213 
218 
222  static bool is_hot_tracking_enabled();
223 
227 
231  static bool is_keyboard_preferred();
232 
237 
243 
248  static bool is_menu_fade_enabled();
249 
254 
259 
264 
270 
276 
280  static int32_t kanji_window_height();
281 
286  static int32_t keyboard_delay();
287 
292  static int32_t keyboard_speed();
293 
298 
303 
308 
313 
318 
323 
327  static int32_t menu_height();
328 
332  static int32_t menu_show_delay();
333 
337  static bool mid_east_enabled();
338 
343 
349 
355 
361 
366  static int32_t monitor_count();
367 
375 
380  static int32_t mouse_buttons();
381 
384  static bool mouse_buttons_swapped();
385 
391 
396  static int32_t mouse_hover_time();
397 
401  static bool mouse_present();
402 
406  static int32_t mouse_speed();
407 
412  static bool Mouse_wheel_present();
413 
417  static int32_t mouse_wheel_scroll_delta();
418 
423  static int32_t mouse_wheel_scroll_lines();
424 
430 
435  static bool network();
436 
437  static int32_t vertical_scroll_bar_width();
438 
439  };
440  }
441 }
Contains xtd::forms::arrange_direction enum class.
Contains xtd::forms::arrange_starting_position enum class.
Contains xtd::forms::boot_mode enum class.
Defines a particular format for text, including font face, size, and style attributes....
Definition: font.h:39
Stores an ordered pair of integers, which specify a height and width.
Definition: size.h:25
Provides information about the current system environment.
Definition: system_information.h:25
static bool is_font_smoothing_enabled()
Gets a value indicating whether font smoothing is enabled.
static int32_t keyboard_speed()
Gets the keyboard repeat-speed setting.
static bool is_tool_tip_animation_enabled()
Gets a value indicating whether tool_tip animation is enabled.
static int32_t mouse_wheel_scroll_delta()
Gets the amount of the delta value of a single mouse wheel rotation increment.
static bool menu_access_keys_underlined()
Gets a value indicating whether menu access keys are always underlined.
static bool is_minimize_restore_animation_enabled()
Gets a value indicating whether window minimize and restore animation is enabled.
static bool is_title_bar_gradient_enabled()
Gets a value indicating whether the gradient effect for window title bars is enabled.
static bool native_mouse_wheel_support()
Gets a value indicating whether a mouse with a mouse wheel is installed.
static int32_t mouse_speed()
Gets the current mouse speed.
static xtd::forms::arrange_starting_position arrange_starting_position()
Gets an ArrangeStartingPosition value that indicates the starting position from which the operating s...
static int32_t caret_blink_time()
Gets the caret blink time.
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 resizabl...
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 ...
static xtd::drawing::font menu_font()
Gets the font used to display text on menus.
static bool debug_os()
Gets a value indicating whether the debug version of USER.EXE is installed.
static bool network()
Gets a value indicating whether a network connection is present.
static int32_t font_smoothing_type()
Gets the current type of font smoothing.
static bool is_menu_fade_enabled()
Gets a value indicating whether menu fade animation is enabled.
static bool is_combo_box_animation_enabled()
Gets a value indicating whether the slide-open effect for combo boxes is enabled.
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 ...
static xtd::drawing::size minimized_window_spacing_size()
Gets the dimensions, in pixels, of the area each minimized window is allocated when arranged.
static int32_t icon_horizontal_spacing()
Gets the width, in pixels, of an icon arrangement cell in large icon view.
static int32_t horizontal_scroll_bar_bhumb_width()
Gets the width, in pixels, of the scroll box in a horizontal scroll bar.
static bool mouse_buttons_swapped()
Gets a value indicating whether the functions of the left and right mouse buttons have been swapped.
static int32_t font_smoothing_contrast()
Gets the font smoothing contrast value used in ClearType smoothing.
static bool drag_full_windows()
Gets a value indicating whether the user has enabled full window drag.
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 ...
static int32_t mouse_hover_time()
Gets the time, in milliseconds, that the mouse pointer has to stay in the hover rectangle before a mo...
static int32_t double_click_time()
Gets the maximum number of milliseconds that can elapse between a first click and a second click for ...
static int32_t menu_height()
Gets the height, in pixels, of one line of a menu.
static int32_t horizontal_scroll_bar_arrow_width()
Gets the width, in pixels, of the arrow bitmap on the horizontal scroll bar.
static int32_t keyboard_delay()
Gets the keyboard repeat-delay setting.
static bool mid_east_enabled()
Gets a value indicating whether the operating system is enabled for the Hebrew and Arabic languages.
static xtd::drawing::size minimum_window_size()
Gets the minimum width and height for a window, in pixels.
static int32_t icon_vertical_spacing()
Gets the height, in pixels, of an icon arrangement cell in large icon view.
static xtd::drawing::size caption_button_size()
Gets the standard size, in pixels, of a button in a window's title bar.
static xtd::drawing::size cursor_size()
Gets the maximum size, in pixels, that a cursor can occupy.
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...
static xtd::ustring computer_name()
Gets the NetBIOS computer name of the local computer.
static xtd::drawing::size menu_bar_button_size()
Gets the default width, in pixels, for menu-bar buttons and the height, in pixels,...
static bool is_active_window_tracking_enabled()
Gets a value indicating whether active window tracking is enabled.
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.
static xtd::forms::arrange_direction arrange_direction()
Gets a value that indicates the direction in which the operating system arranges minimized windows.
static int32_t menu_show_delay()
Gets the time, in milliseconds, that the system waits before displaying a cascaded shortcut menu when...
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.
static xtd::drawing::size border_3d_size()
Gets the thickness, in pixels, of a three-dimensional (3-D) style window or system control border.
static bool dbcs_enabled()
Gets a value indicating whether the operating system is capable of handling double-byte character set...
static bool is_flat_menu_enabled()
Gets a value indicating whether native user menus have a flat menu appearance.
static bool is_drop_shadow_enabled()
Gets a value indicating whether the drop shadow effect is enabled.
static xtd::drawing::size drag_size()
Gets the width and height of a rectangle centered on the point the mouse button was pressed,...
static int32_t active_window_tracking_delay()
Gets the active window tracking delay.
static int32_t mouse_wheel_scroll_lines()
Gets the number of lines to scroll when the mouse wheel is rotated.
static bool is_selection_fade_enabled()
Gets a value indicating whether the selection fade effect is enabled.
static int32_t border_multiplier_factor()
Gets the border multiplier factor that is used when determining the thickness of a window's sizing bo...
static bool Mouse_wheel_present()
Gets a value indicating whether a mouse with a mouse wheel is installed.
static bool is_menu_animation_enabled()
Gets a value indicating whether menu fade or slide animation features are enabled.
static xtd::forms::boot_mode boot_mode()
Gets a BootMode value that indicates the boot mode the system was started in.
static xtd::drawing::size menu_check_size()
Gets the dimensions, in pixels, of the default size of a menu check mark area.
static bool monitors_same_display_format()
Gets a value indicating whether all the display monitors are using the same pixel color format.
static bool is_hot_tracking_enabled()
Gets a value indicating whether hot tracking of user-interface elements, such as menu names on menu b...
static xtd::drawing::size minimized_window_size()
Gets the dimensions, in pixels, of a normal minimized window.
static int32_t horizontal_scroll_bar_height()
Gets the default height, in pixels, of the horizontal scroll bar.
static bool high_contrast()
Gets a value indicating whether the user has enabled the high-contrast mode accessibility feature.
static xtd::drawing::size border_size()
Gets the thickness, in pixels, of a flat-style window or system control border.
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 m...
static bool is_icon_title_wrapping_enabled()
Gets a value indicating whether icon-title wrapping is enabled.
static int32_t monitor_count()
Gets the number of display monitors on the desktop.
static bool is_keyboard_preferred()
Gets a value indicating whether the user relies on the keyboard instead of the mouse,...
static int32_t horizontal_focus_thickness()
Gets the thickness of the left and right edges of the system focus rectangle, in pixels.
static bool is_list_box_smooth_scrolling_enabled()
Gets a value indicating whether the smooth-scrolling effect for list boxes is enabled.
static int32_t mouse_buttons()
Gets the number of buttons on the mouse.
static bool mouse_present()
Gets a value indicating whether the functions of the left and right mouse buttons have been swapped.
static bool is_snap_to_default_enabled()
Gets a value indicating whether the snap-to-default-button feature is enabled.
static int32_t caret_width()
Gets the width, in pixels, of the caret in edit controls.
static xtd::drawing::size min_window_track_size()
Gets the default minimum dimensions, in pixels, that a window may occupy during a drag resize.
static int32_t caption_height()
Gets the height, in pixels, of the standard title bar area of a window.
static xtd::drawing::size icon_size()
Gets the dimensions, in pixels, of the Windows default program icon size.
static xtd::drawing::size menu_button_size()
Gets the default dimensions, in pixels, of menu-bar buttons.
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
Contains xtd::drawing::font class.
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition: static.h:38
#define forms_export_
Define shared library export.
Definition: forms_export.h:13
arrange_direction
Specifies the direction the system uses to arrange minimized windows.
Definition: arrange_direction.h:19
boot_mode
Specifies the mode to start the computer in.
Definition: boot_mode.h:20
arrange_starting_position
Specifies the starting position that the system uses to arrange minimized windows.
Definition: arrange_starting_position.h:19
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::drawing::size class.
Contains xtd::static_object class.