xtd 0.2.0
Loading...
Searching...
No Matches
input_box.h
Go to the documentation of this file.
1
4#pragma once
5#include "../forms_export.h"
6#include "character_casing.h"
7#include "dialog_result.h"
8#include "input_box_style.h"
9#include "iwin32_window.h"
10#include <xtd/static>
11#include <xtd/ustring>
12
14namespace xtd {
16 namespace forms {
34 public:
36
58 static xtd::forms::dialog_result show(xtd::ustring& value, const xtd::forms::iwin32_window& owner, const xtd::ustring& text, const xtd::ustring& caption);
89
110 static xtd::forms::dialog_result show(xtd::ustring& value, const xtd::ustring& text, const xtd::ustring& caption);
140 static xtd::forms::dialog_result show(xtd::ustring& value, const xtd::ustring& text, const xtd::ustring& caption, xtd::forms::input_box_style style, xtd::forms::character_casing casing, bool word_wrap);
142
143 private:
144 static xtd::forms::dialog_result show_input_box(xtd::ustring& value, const xtd::forms::iwin32_window* owner = nullptr, const xtd::ustring& text = "", const xtd::ustring& caption = "", xtd::forms::input_box_style style = xtd::forms::input_box_style::normal, xtd::forms::character_casing casing = xtd::forms::character_casing::normal, bool word_wrap = true);
145 };
146 }
147}
Contains xtd::forms::character_casing enum class.
Represents a common dialog box that displays input box.
Definition input_box.h:33
static xtd::forms::dialog_result show(xtd::ustring &value)
Displays an input box. The input box displays a text value.
static xtd::forms::dialog_result show(xtd::ustring &value, const xtd::ustring &text, const xtd::ustring &caption, xtd::forms::input_box_style style)
Displays an input box. The input box displays a input text value with specified invite message text,...
static xtd::forms::dialog_result show(xtd::ustring &value, const xtd::forms::iwin32_window &owner, const xtd::ustring &text, const xtd::ustring &caption, xtd::forms::input_box_style style, xtd::forms::character_casing casing)
Displays an input box in front of the specified window. The input box displays a input text value wit...
static xtd::forms::dialog_result show(xtd::ustring &value, const xtd::forms::iwin32_window &owner, const xtd::ustring &text, const xtd::ustring &caption, xtd::forms::input_box_style style)
Displays an input box in front of the specified window. The input box displays a input text value wit...
static xtd::forms::dialog_result show(xtd::ustring &value, const xtd::ustring &text, const xtd::ustring &caption)
Displays an input box. The input box displays a input text value with specified invite message text a...
static xtd::forms::dialog_result show(xtd::ustring &value, const xtd::ustring &text)
Displays an input box. The input box displays a input text value with specified invite message text.
static xtd::forms::dialog_result show(xtd::ustring &value, const xtd::forms::iwin32_window &owner, const xtd::ustring &text, const xtd::ustring &caption)
Displays an input box in front of the specified window. The input box displays a input text value wit...
static xtd::forms::dialog_result show(xtd::ustring &value, const xtd::ustring &text, const xtd::ustring &caption, xtd::forms::input_box_style style, xtd::forms::character_casing casing)
Displays an input box. The input box displays a input text value with specified invite message text,...
static xtd::forms::dialog_result show(xtd::ustring &value, const xtd::forms::iwin32_window &owner, const xtd::ustring &text)
Displays an input box in front of the specified window. The input box displays a input text value wit...
static xtd::forms::dialog_result show(xtd::ustring &value, const xtd::forms::iwin32_window &owner, const xtd::ustring &text, const xtd::ustring &caption, xtd::forms::input_box_style style, xtd::forms::character_casing casing, bool word_wrap)
Displays an input box in front of the specified window. The input box displays a input text value wit...
static xtd::forms::dialog_result show(xtd::ustring &value, const xtd::forms::iwin32_window &owner)
Displays an input box in front of the specified window. The input box displays a text value.
static xtd::forms::dialog_result show(xtd::ustring &value, const xtd::ustring &text, const xtd::ustring &caption, xtd::forms::input_box_style style, xtd::forms::character_casing casing, bool word_wrap)
Displays an input box. The input box displays a input text value with specified invite message text,...
Provides an interface to expose Win32 HWND handles.
Definition iwin32_window.h:21
Represents text as a sequence of UTF-8 code units.
Definition ustring.h:47
Contains xtd::forms::dialog_result enum class.
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.h:37
#define forms_export_
Define shared library export.
Definition forms_export.h:13
input_box_style
Specifies constants defining which input_box style is used.
Definition input_box_style.h:20
dialog_result
Specifies identifiers to indicate the return value of a dialog box.
Definition dialog_result.h:41
character_casing
Specifies the case of characters in a text_box control.
Definition character_casing.h:20
@ normal
Single line text box.
@ normal
The case of characters is left unchanged.
Contains xtd::forms::input_box_style enum class.
Contains xtd::forms::iwin32_window interface.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10