win-task-dialog

Crates.iowin-task-dialog
lib.rswin-task-dialog
version1.0.1
created_at2021-02-23 14:08:15.875961+00
updated_at2025-11-07 19:48:44.614698+00
descriptionSimply call the Win32 API TaskDialogIndirect in Rust.
homepagehttps://github.com/RobinCodeX/win-task-dialog-for-rust
repositoryhttps://github.com/RobinCodeX/win-task-dialog-for-rust
max_upload_size
id359507
size30,167
RobinCode (robincodex)

documentation

README

Windows Task Dialog For Rust

Crates.io docs.rs

Simply call the Win32 API TaskDialogIndirect in Rust.

Can be safely call on not windows platforms, but it has no effect.

After version 1.0.0, it can no longer run properly on Linux. Please use cfg(windows) to mark the usage.

Dependencies

[target.'cfg(windows)'.dependencies]
win-task-dialog = "1.0.0"

[build-dependencies]
embed-resource = "2.1"

NOTE: You must be Enabling Visual Styles and using embed-resource to change manifest.

Example

See example/src/main.rs

About Process Bar

I used a very unsafe way to implement these functions and I didn't have a good way to solve this problem.

Screenshot

Screenshot

Commit count: 38

cargo fmt