xtd 0.2.0
Loading...
Searching...
No Matches
system_information.h
Go to the documentation of this file.
1
4#pragma once
5#include "../forms_export.h"
6#include "arrange_direction.h"
8#include "boot_mode.h"
10#include "power_status.h"
11#include "screen_orientation.h"
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 {
32 public:
34
39
44
49
54
61
65
72
78
83
87
91
97
102
106 static bool dbcs_enabled();
107
110 static bool debug_os();
111
116
122
126 static bool drag_full_windows();
127
133
139
143
147
153
158 static bool high_contrast();
159
164
169
173
177
181
186
190
195
200
205
211
215
218 static bool is_flat_menu_enabled();
219
224
229
233
238
243
249
254 static bool is_menu_fade_enabled();
255
260
265
270
275
281
287
292
298
304
309
314
319
324
329
334
339
344
348 static bool mid_east_enabled();
349
354
360
366
372
378
386
392
396
402
408
412 static bool mouse_present();
413
418
423 static bool Mouse_wheel_present();
424
429
435
441
446 static bool network();
447
451 static bool pen_windows();
452
456
460
464
469
472 static bool right_aligned_menus();
473
477
481 static bool secure();
482
487 static bool show_sounds();
488
492
497
502
507
512
516
531 static bool ui_effect_enabled();
532
537
542 static bool user_interactive();
543
547
552
557
562
566
573
580 };
581 }
582}
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:45
Stores a set of four integers that represent the location and size of a rectangle.
Definition rectangle.h:44
Stores an ordered pair of integers, which specify a height and width.
Definition size.h:31
Indicates current system power status information.
Definition power_status.h:29
Provides information about the current system environment.
Definition system_information.h:31
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 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 xtd::ustring user_domain_name()
Gets the name of the domain the user belongs to.
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 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 xtd::ustring computer_name()
Gets the NetBIOS computer name of the local computer.
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::ustring user_name()
Gets the user name associated with the current thread.
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 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.
Represents text as a sequence of UTF-8 code units.
Definition ustring.h:47
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.h:37
#define forms_export_
Define shared library export.
Definition forms_export.h:13
int_least32_t int32
Represents a 32-bit signed integer.
Definition types.h:131
screen_orientation
Specifies the angle of the screen.
Definition screen_orientation.h:20
arrange_direction
Specifies the direction the system uses to arrange minimized windows.
Definition arrange_direction.h:21
boot_mode
Specifies the mode to start the computer in.
Definition boot_mode.h:22
left_right_alignment
Specifies whether an object or text is aligned to the left or right of a reference point.
Definition left_right_alignment.h:19
arrange_starting_position
Specifies the starting position that the system uses to arrange minimized windows.
Definition arrange_starting_position.h:21
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.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Contains xtd::forms::power_status class.
Contains xtd::forms::screen_orientation enum class.