Cargo Features

[dependencies]
native-windows-gui = { version = "1.0.13", default-features = false, features = ["all", "file-dialog", "datetime-picker", "progress-bar", "tabs", "combobox", "message-window", "timer", "notice", "list-view", "image-decoder", "clipboard", "menu", "tooltip", "status-bar", "winnls", "textbox", "rich-textbox", "image-list", "no-styling", "tree-view-iterator", "dynamic_layout", "plotting", "flexbox", "high-dpi", "raw-win-handle"] }
default = all

The all feature is set by default whenever native-windows-gui is added without default-features = false somewhere in the dependency tree.

all default = animation-timer, clipboard, color-dialog, combobox, cursor, datetime-picker, dynamic_layout, embed-resource, extern-canvas, fancy-window, file-dialog, flexbox, font-dialog, frame, image-decoder, image-list, list-view, listbox, menu, message-window, notice, number-select, plotting, progress-bar, rich-textbox, scroll-bar, status-bar, tabs, textbox, timer, tooltip, trackbar, tray-notification, tree-view, tree-view-iterator, winnls
file-dialog all

Affects resources_helper::create_file_dialog, resources_helper::file_dialog_set_default_folder, resources_helper::file_dialog_set_filters, resources_helper::filedialog_get_item, resources_helper::filedialog_get_items, resources_helper::file_dialog_options, resources_helper::toggle_dialog_flags, base_helper::os_string_from_wide_ptr

color-dialog font-dialog datetime-picker all
progress-bar all

Affects window_helper::set_style

tabs all

Affects window_helper::get_window_class_name

tree-view fancy-window listbox combobox all
tray-notification message-window all
timer all

Affects window_helper::kill_timer, window_helper::start_timer, window_helper::window_valid

animation-timer notice all

Affects window_helper::window_valid

list-view all

Affects window_helper::set_style

image-decoder all

Affects resources_helper::build_image_decoder, resources_helper::build_image_decoder_from_memory, resources_helper::bitmap_from_memory, resources_helper::icon_from_memory

number-select cursor clipboard all
menu all

Affects control_base::HmenuBuilder

trackbar extern-canvas frame tooltip all
status-bar all
winnls all

Affects base_helper::from_wide_ptr, base_helper::os_string_from_wide_ptr

textbox all = newline-converter
rich-textbox all = newline-converter

Affects window_helper::get_class_info, window_helper::get_background_color

image-list all

Affects list_view::ListViewImageListType, list_view::InsertListViewItem.image, list_view::ListViewItem.image

no-styling
embed-resource scroll-bar tree-view-iterator all
dynamic_layout all
plotting all = plotters, plotters-backend
flexbox all = stretch
high-dpi = muldiv

Affects high_dpi::set_dpi_awareness, high_dpi::scale_factor, high_dpi::logical_to_physical, high_dpi::physical_to_logical

raw-win-handle = raw-window-handle

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

newline-converter rich-textbox? textbox?

Enables newline-converter ^0.2.0

stretch flexbox?
muldiv high-dpi?

Enables muldiv ^0.2

plotters plotting?
plotters-backend plotting?
raw-window-handle raw-win-handle?

Enables raw-window-handle ^0.3.3

Integration for raw-window-handle