Function win_msgbox::show

source ·
pub fn show<T: Options>(text: impl Into<PCWSTR>) -> Result<T>
Expand description

Shows a message box with a specified text to be displayed.

For more options see MessageBox.

Examples found in repository?
examples/minimal.rs (line 4)
3
4
5
fn main() {
    assert_eq!(win_msgbox::show::<Okay>(w!("Hello World")), Ok(Okay));
}