xtd 0.2.0
Loading...
Searching...
No Matches
xtd::forms::native::message_box Class Referencefinal
Inheritance diagram for xtd::forms::native::message_box:
xtd::static_object

Definition

Contains message box native API.

Namespace
xtd::forms::native
Library
xtd.forms.native
Warning
Internal use only

Protected Static Methods

static int32 show (intptr hwnd, const xtd::string &text, const xtd::string &caption, uint32 options, bool display_help_button)
 Shows dialog.
 
static void show_sheet (xtd::delegate< void(int32)> on_dialog_closed, intptr hwnd, const xtd::string &text, const xtd::string &caption, uint32 options, bool display_help_button)
 Shows async dialog as sheet.
 

Member Function Documentation

◆ show()

static int32 xtd::forms::native::message_box::show ( intptr  hwnd,
const xtd::string text,
const xtd::string caption,
uint32  options,
bool  display_help_button 
)
staticprotected

Shows dialog.

Parameters
hwndParent window handle.
textThe text to display in the message box.
captionThe text to display in the title bar of the message box.
optionsA bitwise of message box styles.
display_help_buttontrue to show the Help button; otherwise, false.
Returns
A dialog box ids.
Warning
Internal use only

◆ show_sheet()

static void xtd::forms::native::message_box::show_sheet ( xtd::delegate< void(int32)>  on_dialog_closed,
intptr  hwnd,
const xtd::string text,
const xtd::string caption,
uint32  options,
bool  display_help_button 
)
staticprotected

Shows async dialog as sheet.

Parameters
on_dialog_closeda dialog close delegate to call when the dialog is closed.
hwndParent window handle.
textThe text to display in the message box.
captionThe text to display in the title bar of the message box.
optionsA bitwise of message box styles.
display_help_buttontrue to show the Help button; otherwise, false.
Warning
Internal use only

The documentation for this class was generated from the following file: