Skip to main content

Crate winio_ui_windows_common

Crate winio_ui_windows_common 

Source
Available on Windows only.
Expand description

Windows common methods for winio.

Macros§

syscall

Structs§

CoTaskMemPtr
CustomButton
DrawingContext
DrawingImage
DrawingPath
DrawingPathBuilder
Error
An error object consists of both an error code and optional detailed error information for debugging.
FileBox
FileFilter
MessageBox
WinBrush

Enums§

Backdrop
Backdrop effects for windows.
PreferredAppMode

Traits§

Brush
Drawing brush.
Pen
Drawing pen.

Functions§

accent_color
Get the accent color.
children_refresh_dark_mode⚠
MISC: If in task dialog, set lparam to 1.
control_color_edit⚠
Safety
control_color_link_label⚠
Safety
control_color_static⚠
Safety
control_use_dark_mode⚠
Safety
d2d1_factory
get_backdrop⚠
Get the current backdrop effect of a window.
get_current_module_handle
Get the handle of the current executable or DLL.
init_dark
is_dark_mode_allowed_for_app
monitor_get_all
set_backdrop⚠
Set the backdrop effect of a window.
set_preferred_app_mode
window_use_dark_mode⚠
Safety

Type Aliases§

Result
A specialized Result type that provides Windows error information.