Function win_msgbox::information

source ·
pub fn information<T>(text: impl Into<PCWSTR>) -> MessageBox<T>
Expand description

Creates a new message box where its icon is set to Information.

Examples found in repository?
examples/simple.rs (line 5)
4
5
6
7
8
9
fn main() -> Result<(), WIN32_ERROR> {
    win_msgbox::information::<Okay>(w!("Ferris landed on Mars."))
        .title(w!("Landing Module"))
        .show()?;
    Ok(())
}