1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//! Windows message box and notification module.
//!
//! This crate provides utility functions for displaying native Windows message boxes
//! and system notifications with support for auto-close timeout, multiple icon styles,
//! and various button combinations.
//!
//! # Features
//!
//! - **Message boxes**: Native Win32 message boxes with icon and button presets,
//! plus optional auto-close timeout.
//! - **Standalone popup notification**: A custom popup window in the bottom-right
//! corner with live countdown display.
//! - **Tray balloon helper**: Display balloon notifications on existing system tray icons.
//! - **C/C++ FFI**: Expose `custom_msgbox_w` for direct calling from C/C++ code
//! (requires `cdylib` crate type).
//!
//! # Quick Start
//!
//! ```rust
//! use win_msgbox_timeout::{
//! MsgBoxType, MsgBtnType, custom_msgbox, error_msgbox, info_msgbox,
//! quest_msgbox_yesno, warn_msgbox,
//! };
//!
//! // Simple info dialog
//! info_msgbox("Hello from Rust", "Info", 0);
//!
//! // Warning with 3-second auto-close
//! warn_msgbox("Careful!", "Warning", 3000);
//!
//! // Yes/No question
//! let result = quest_msgbox_yesno("Do you want to continue?", "Question", 0);
//! if result == 6 {
//! info_msgbox("You clicked Yes", "Result", 0);
//! }
//! ```
//!
//! # C/C++ Interop
//!
//! When built with `crate-type = ["cdylib"]`, the crate exports `custom_msgbox_w`
//! as a C-compatible function. See the [`custom_msgbox_w`] documentation for details.
pub use ;
pub use c_msgboxcustom_msgbox_w;
pub use ;
pub use ;
pub use HWND;