xtd 0.2.0
Loading...
Searching...
No Matches
system_information.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../forms_export.hpp"
8#include "boot_mode.hpp"
10#include "power_status.hpp"
12#include <xtd/drawing/font>
13#include <xtd/drawing/rectangle>
14#include <xtd/drawing/size>
15#include <xtd/static>
16
18namespace xtd {
20 namespace forms {
34 public:
36
41
46
51
56
63
67
74
80
85
89
93
99
104
108 static bool dbcs_enabled();
109
112 static bool debug_os();
113
118
124
128 static bool drag_full_windows();
129
135
141
145
149
155
160 static bool high_contrast();
161
166
171
175
179
183
188
192
197
202
207
213
217
220 static bool is_flat_menu_enabled();
221
226
231
235
240
245
251
256 static bool is_menu_fade_enabled();
257
262
267
272
277
283
289
294
300
306
311
316
321
326
331
336
341
346
350 static bool mid_east_enabled();
351
356
362
368
374
380
388
394
398
404
410
414 static bool mouse_present();
415
420
425 static bool Mouse_wheel_present();
426
431
437
443
448 static bool network();
449
453 static bool pen_windows();
454
458
462
466
471
474 static bool right_aligned_menus();
475
479
483 static bool secure();
484
489 static bool show_sounds();
490
494
499
504
509
514
518
533 static bool ui_effect_enabled();
534
539
544 static bool user_interactive();
545
549
554
559
564
568
575
582 };
583 }
584}
Contains xtd::forms::arrange_direction enum class.
Contains xtd::forms::arrange_starting_position enum class.
Contains xtd::forms::boot_mode enum class.
Represents text as a sequence of character units.
Definition basic_string.hpp:79
Defines a particular format for text, including font face, size, and style attributes....
Definition font.hpp:45
Stores a set of four integers that represent the location and size of a rectangle.
Definition rectangle.hpp:44
Stores an ordered pair of integers, which specify a height and width.
Definition size.hpp:31
Indicates current system power status information.
Definition power_status.hpp:31
Provides information about the current system environment.
Definition system_information.hpp:33
static int32 mouse_hover_time()
Gets the time, in milliseconds, that the mouse pointer has to stay in the hover rectangle before a mo...
static bool is_font_smoothing_enabled()
Gets a value indicating whether font smoothing is enabled.
static bool is_tool_tip_animation_enabled()
Gets a value indicating whether tool_tip animation is enabled.
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 int32 vertical_scroll_bar_thumb_height()
Gets the height, in pixels, of the scroll box in a vertical scroll bar.
static int32 horizontal_resize_border_thickness()
Gets the thickness of the left and right edges of the sizing border around the perimeter of a window ...
static bool is_title_bar_gradient_enabled()
Gets a value indicating whether the gradient effect for window title bars is enabled.
static bool user_interactive()
Gets a value indicating whether the current process is running in user-interactive mode.
static bool native_mouse_wheel_support()
Gets a value indicating whether a mouse with a mouse wheel is installed.
static int32 icon_vertical_spacing()
Gets the height, in pixels, of an icon arrangement cell in large icon view.
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 mouse_wheel_scroll_lines()
Gets the number of lines to scroll when the mouse wheel is rotated.
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 int32 horizontal_focus_thickness()
Gets the thickness of the left and right edges of the system focus rectangle, in pixels.
static int32 border_multiplier_factor()
Gets the border multiplier factor that is used when determining the thickness of a window's sizing bo...
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 bool right_aligned_menus()
Gets a value indicating whether drop-down menus are right-aligned with the corresponding menu-bar ite...
static bool ui_effect_enabled()
Gets a value indicating whether user interface (UI) effects are enabled or disabled.
static bool is_menu_fade_enabled()
Gets a value indicating whether menu fade animation is enabled.
static int32 vertical_scroll_bar_arrow_height()
Gets the height, in pixels, of the arrow bitmap on the vertical scroll bar.
static int32 menu_height()
Gets the height, in pixels, of one line of a menu.
static bool show_sounds()
Gets a value indicating whether the user prefers that an application present information in visual fo...
static xtd::string user_name()
Gets the user name associated with the current thread.
static int32 sizing_border_width()
Gets the width, in pixels, of the sizing border drawn around the perimeter of a window being resized.
static int32 mouse_buttons()
Gets the number of buttons on the mouse.
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 mouse_wheel_scroll_delta()
Gets the amount of the delta value of a single mouse wheel rotation increment.
static bool mouse_buttons_swapped()
Gets a value indicating whether the functions of the left and right mouse buttons have been swapped.
static int32 font_smoothing_type()
Gets the current type of font smoothing.
static xtd::forms::screen_orientation screen_orientation()
Gets the orientation of the screen.
static bool is_operating_system_double_buffered()
Gets the operating system is natively double buffered.
static bool drag_full_windows()
Gets a value indicating whether the user has enabled full window drag.
static xtd::string computer_name()
Gets the NetBIOS computer name of the local computer.
static left_right_alignment popup_menu_alignment()
Gets the side of pop-up menus that are aligned to the corresponding menu-bar item.
static bool mid_east_enabled()
Gets a value indicating whether the operating system is enabled for the Hebrew and Arabic languages.
static int32 tool_window_caption_height()
Gets the height, in pixels, of a tool window caption.
static int32 vertical_focus_thickness()
Gets the thickness, in pixels, of the top and bottom edges of the system focus rectangle.
static xtd::drawing::size minimum_window_size()
Gets the minimum width and height for a window, in pixels.
static xtd::drawing::size small_caption_button_size()
Gets the width, in pixels, of small caption buttons, and the height, in pixels, of small captions.
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 caret_width()
Gets the width, in pixels, of the caret in edit controls.
static int32 font_smoothing_contrast()
Gets the font smoothing contrast value used in ClearType smoothing.
static xtd::drawing::size menu_bar_button_size()
Gets the default width, in pixels, for menu-bar buttons and the height, in pixels,...
static int32 mouse_speed()
Gets the current mouse speed.
static xtd::drawing::rectangle working_area()
Gets the size, in pixels, of the working area of the screen.
static int32 caption_height()
Gets the height, in pixels, of the standard title bar area of a window.
static bool terminal_server_session()
Gets a value indicating whether the calling process is associated with a Terminal Services client ses...
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 active_window_tracking_delay()
Gets the active window tracking delay.
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::rectangle virtual_screen()
Gets the bounds of the virtual screen.
static xtd::forms::power_status power_status()
Gets the current system power status.
static bool pen_windows()
Gets a value indicating whether the Microsoft Windows for Pen Computing extensions are installed.
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 int32 horizontal_scroll_bar_thumb_width()
Gets the width, in pixels, of the scroll box in a horizontal scroll bar.
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 xtd::drawing::size primary_monitor_maximized_window_size()
Gets the default dimensions, in pixels, of a maximized window on the primary display.
static bool is_selection_fade_enabled()
Gets a value indicating whether the selection fade effect is enabled.
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 int32 keyboard_speed()
Gets the keyboard repeat-speed setting.
static int32 horizontal_scroll_bar_height()
Gets the default height, in pixels, of the horizontal scroll bar.
static int32 keyboard_delay()
Gets the keyboard repeat-delay setting.
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 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 int32 double_click_time()
Gets the maximum number of milliseconds that can elapse between a first click and a second click for ...
static xtd::drawing::size tool_window_caption_button_size()
Gets the dimensions, in pixels, of small caption buttons.
static int32 caret_blink_time()
Gets the caret blink time.
static int32 menu_show_delay()
Gets the time, in milliseconds, that the system waits before displaying a cascaded shortcut menu when...
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 xtd::string user_domain_name()
Gets the name of the domain the user belongs to.
static int32 horizontal_scroll_bar_arrow_width()
Gets the width, in pixels, of the arrow bitmap on the horizontal scroll bar.
static bool is_keyboard_preferred()
Gets a value indicating whether the user relies on the keyboard instead of the mouse,...
static xtd::drawing::size small_icon_size()
Gets the dimensions, in pixels, of a small icon.
static bool secure()
Gets a value indicating whether a Security Manager is present on this operating system.
static bool is_list_box_smooth_scrolling_enabled()
Gets a value indicating whether the smooth-scrolling effect for list boxes is enabled.
static int32 kanji_window_height()
Gets the height, in pixels, of the Kanji window at the bottom of the screen for double-byte character...
static int32 monitor_count()
Gets the number of display monitors on the desktop.
static int32 icon_horizontal_spacing()
Gets the width, in pixels, of an icon arrangement cell in large icon view.
static int32 vertical_scroll_bar_width()
Gets the default width, in pixels, of the vertical scroll bar.
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 xtd::drawing::size min_window_track_size()
Gets the default minimum dimensions, in pixels, that a window may occupy during a drag resize.
static xtd::drawing::size primary_monitor_size()
Gets the dimensions, in pixels, of the current video mode of the primary display.
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.
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:37
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
int32_t int32
Represents a 32-bit signed integer.
Definition int32.hpp:23
screen_orientation
Specifies the angle of the screen.
Definition screen_orientation.hpp:22
arrange_direction
Specifies the direction the system uses to arrange minimized windows.
Definition arrange_direction.hpp:23
boot_mode
Specifies the mode to start the computer in.
Definition boot_mode.hpp:24
left_right_alignment
Specifies whether an object or text is aligned to the left or right of a reference point.
Definition left_right_alignment.hpp:21
arrange_starting_position
Specifies the starting position that the system uses to arrange minimized windows.
Definition arrange_starting_position.hpp:23
Contains xtd::forms::left_right_alignment enum class.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.hpp:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::forms::power_status class.
Contains xtd::forms::screen_orientation enum class.