Module ui

Module ui 

Source
Available on crate feature ui only.
Expand description

UI functionality.

Modules§

desktop
menu
Menus and menu items.
message_box
messaging
Window and thread message handling.
resource
Application resources (icons, cursors and brushes).
taskbar
Taskbar functionality.
window
UI components related to windows.

Structs§

CursorConfinement
Region
A (non-null) handle to a region.
UnmagnifiedCursorConcealment

Constants§

DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE
DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2
DPI_AWARENESS_CONTEXT_SYSTEM_AWARE
DPI_AWARENESS_CONTEXT_UNAWARE
DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED

Functions§

allocate_console
Creates a console window for the current process if there is none.
detach_console
Detaches the current process from its console.
get_cursor_pos
get_virtual_screen_rect
lock_workstation
Locks the computer, same as the user action.
remove_fullscreen_magnification
set_cursor_pos
set_fullscreen_magnification
set_fullscreen_magnification_use_bitmap_smoothing
set_process_dpi_awareness_context
set_thread_dpi_awareness_context

Type Aliases§

Point
DPI-scaled virtual coordinates.
Rectangle
DPI-scaled virtual coordinates of a rectangle.