https://github.com/thewh1teagle/winmsg
Feature rich rust crate for message box in windows
https://github.com/thewh1teagle/winmsg
crate messagebox rust winapi
Last synced: over 1 year ago
JSON representation
Feature rich rust crate for message box in windows
- Host: GitHub
- URL: https://github.com/thewh1teagle/winmsg
- Owner: thewh1teagle
- License: mit
- Created: 2023-09-16T15:38:24.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-12T16:29:25.000Z (about 2 years ago)
- Last Synced: 2024-09-17T22:45:10.703Z (almost 2 years ago)
- Topics: crate, messagebox, rust, winapi
- Language: Rust
- Homepage: https://crates.io/crates/winmsg
- Size: 10.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE.txt
Awesome Lists containing this project
README
# winmsg
Feature rich `Rust` `crate` for creating a [message box](https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-messageboxw) in `Windows`
[](https://crates.io/crates/winmsg/)
[](LICENSE.txt)
# Install
```shell
cargo add winmsg
```
# Basic usage
```rust
use winmsg::{message_box, Options};
fn main() {
message_box(Options {
title: "Hello world!".into(),
description: "How are you?".into(),
..Default::default()
});
}
```
# Examples
See [examples](examples)