#windows #win32 #dialog

win-task-dialog

Simply call the Win32 API TaskDialogIndirect in Rust

7 releases

0.1.6 Oct 28, 2022
0.1.5 Feb 26, 2021

#42 in Windows APIs

Download history 3/week @ 2022-08-20 4/week @ 2022-08-27 7/week @ 2022-09-10 1/week @ 2022-09-24 1/week @ 2022-10-01 16/week @ 2022-10-22 32/week @ 2022-10-29 14/week @ 2022-11-05 11/week @ 2022-11-12 36/week @ 2022-11-19 57/week @ 2022-11-26

124 downloads per month

MIT license

17KB
376 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.6"

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

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

~27KB