This crate provides a simple to use abstraction over the Open and Save dialogs in the Windows API, usable under both GNU and MSVC toolchains, with minimal dependencies.
rust
let dialog_result = wfd::open_dialog(Default::default())?;
```rust use wfd::{DialogParams};
let params = DialogParams { options: FOS_PICKFOLDERS, .. Default::default() };
let dialogresult = wfd::opendialog(params)?; ```
```rust use wfd::{DialogParams};
let params = DialogParams { title: "Select an image to open", filetypes: vec![("JPG Files", "*.jpg;*.jpeg"), ("PNG Files", "*.png"), ("Bitmap Files", "*.bmp")], defaultextension: "jpg", ..Default::default() };
let dialogresult = wfd::savedialog(params)?; ```
Further examples can be found in src\examples