xtd 0.2.0
input_box.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../forms_export.hpp"
7#include "dialog_result.hpp"
8#include "input_box_style.hpp"
9#include "iwin32_window.hpp"
10#include <xtd/static>
11#include <xtd/string>
12
14namespace xtd {
16 namespace forms {
36 public:
38
91
144
145 private:
146 static xtd::forms::dialog_result show_input_box(xtd::string& value, const xtd::forms::iwin32_window* owner = nullptr, const xtd::string& text = xtd::string::empty_string, const xtd::string& caption = xtd::string::empty_string, 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);
147 };
148 }
149}
Contains xtd::forms::character_casing enum class.
Represents a common dialog box that displays input box.
Definition input_box.hpp:35
static xtd::forms::dialog_result show(xtd::string &value, const xtd::string &text, const xtd::string &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::string &value)
Displays an input box. The input box displays a text value.
static xtd::forms::dialog_result show(xtd::string &value, const xtd::string &text, const xtd::string &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::string &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::string &value, const xtd::forms::iwin32_window &owner, const xtd::string &text, const xtd::string &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::string &value, const xtd::forms::iwin32_window &owner, const xtd::string &text, const xtd::string &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::string &value, const xtd::forms::iwin32_window &owner, const xtd::string &text, const xtd::string &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::string &value, const xtd::forms::iwin32_window &owner, const xtd::string &text, const xtd::string &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::string &value, const xtd::string &text, const xtd::string &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::string &value, const xtd::forms::iwin32_window &owner, const xtd::string &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::string &value, const xtd::string &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::string &value, const xtd::string &text, const xtd::string &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.hpp:23
Contains xtd::forms::dialog_result enum class.
Contains forms_export_ keyword.
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:37
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
input_box_style
Specifies constants defining which input_box style is used.
Definition input_box_style.hpp:22
dialog_result
Specifies identifiers to indicate the return value of a dialog box.
Definition dialog_result.hpp:43
character_casing
Specifies the case of characters in a text_box control.
Definition character_casing.hpp:22
@ normal
Single line text box.
Definition input_box_style.hpp:24
@ text
The xtd::forms::status_bar_panel displays text in the standard font.
Definition status_bar_panel_style.hpp:25
@ normal
The case of characters is left unchanged.
Definition character_casing.hpp:24
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 texts.hpp:219
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8