#winapi #dialog #windows #api #task #task-dialog-indirect

win-task-dialog

Simply call the Win32 API TaskDialogIndirect in Rust

9 releases

0.1.8 Sep 1, 2023
0.1.7 May 12, 2023
0.1.6 Oct 28, 2022
0.1.5 Feb 26, 2021

#60 in Windows APIs

Download history 350/week @ 2023-12-17 113/week @ 2023-12-24 34/week @ 2023-12-31 82/week @ 2024-01-07 52/week @ 2024-01-14 108/week @ 2024-01-21 53/week @ 2024-01-28 6/week @ 2024-02-04 67/week @ 2024-02-11 6/week @ 2024-02-25 119/week @ 2024-03-31

119 downloads per month

MIT license

23KB
542 lines

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

Dependencies

~0–305KB