win-task-dialog 0.1.8

Simply call the Win32 API TaskDialogIndirect in Rust.
docs.rs failed to build win-task-dialog-0.1.8
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: win-task-dialog-0.1.7

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.

Dependencies

[dependencies]
win-task-dialog = "0.1.7"

[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