An open API service indexing awesome lists of open source software.

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

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`

[![Crates](https://img.shields.io/crates/v/winmsg?logo=rust)](https://crates.io/crates/winmsg/)
[![License](https://img.shields.io/github/license/thewh1teagle/winmsg?color=00aaaa&logo=license)](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)