Contains input dialog native API.
- Namespace
- xtd::forms::native
- Library
- xtd.forms.native
- Warning
- Internal use only
|
static bool | run_dialog (intptr hwnd, const xtd::string &text, const xtd::string &message, xtd::string &value, int32 character_casting, bool multiline, bool use_system_password_char, bool word_wrap) |
| Shows dialog.
|
|
static void | run_sheet (xtd::delegate< void(bool)> on_dialog_closed, intptr hwnd, const xtd::string &text, const xtd::string &message, xtd::string &value, int32 character_casting, bool multiline, bool use_system_password_char, bool word_wrap) |
| Shows async dialog as sheet.
|
|
◆ run_dialog()
static bool xtd::forms::native::input_dialog::run_dialog |
( |
intptr |
hwnd, |
|
|
const xtd::string & |
text, |
|
|
const xtd::string & |
message, |
|
|
xtd::string & |
value, |
|
|
int32 |
character_casting, |
|
|
bool |
multiline, |
|
|
bool |
use_system_password_char, |
|
|
bool |
word_wrap |
|
) |
| |
|
staticprotected |
Shows dialog.
- Parameters
-
hwnd | Parent window handle. |
text | A xtd::string that specifies the caption title of dialog. |
message | A xtd::string that specifies the invite message text to display. |
value | A xtd::string that specifies the text to display. |
character_casting | Character casing values (0 : normal, 1 : upper, 2 : lower). |
multiline | true for multiline; otherwise false. |
use_system_password_char | true if use system password char; otherwise false. |
word_wrap | true if word_wrap; otherwise false. |
- Returns
- true if the user clicks OK in the dialog box; otherwise, false.
- Warning
- Internal use only
◆ run_sheet()
static void xtd::forms::native::input_dialog::run_sheet |
( |
xtd::delegate< void(bool)> |
on_dialog_closed, |
|
|
intptr |
hwnd, |
|
|
const xtd::string & |
text, |
|
|
const xtd::string & |
message, |
|
|
xtd::string & |
value, |
|
|
int32 |
character_casting, |
|
|
bool |
multiline, |
|
|
bool |
use_system_password_char, |
|
|
bool |
word_wrap |
|
) |
| |
|
staticprotected |
Shows async dialog as sheet.
- Parameters
-
on_dialog_closed | a dialog close delegate to call when the dialog is closed. |
hwnd | Parent window handle. |
text | A xtd::string that specifies the caption title of dialog. |
message | A xtd::string that specifies the invite message text to display. |
value | A xtd::string that specifies the text to display. |
character_casting | Character casing values (0 : normal, 1 : upper, 2 : lower). |
multiline | true for multiline; otherwise false. |
use_system_password_char | true if use system password char; otherwise false. |
word_wrap | true if word_wrap; otherwise false. |
- Returns
- true if the user clicks OK in the dialog box; otherwise, false.
- Warning
- Internal use only
The documentation for this class was generated from the following file: