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/string>
12
14namespace xtd {
16 namespace forms {
36 public:
38
60 static xtd::forms::dialog_result show(xtd::string& value, const xtd::forms::iwin32_window& owner, const xtd::string& text, const xtd::string& caption);
90 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);
91
112 static xtd::forms::dialog_result show(xtd::string& value, const xtd::string& text, const xtd::string& caption);
142 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);
144
145 private:
147 };
148 }
149}
Contains xtd::forms::character_casing enum class.
Represents text as a sequence of character units.
Definition basic_string.h:79
static const basic_string empty_string
Represents the empty basic_string.
Definition basic_string.h:124
Represents a common dialog box that displays input box.
Definition input_box.h: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.h:23
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:22
dialog_result
Specifies identifiers to indicate the return value of a dialog box.
Definition dialog_result.h:43
character_casing
Specifies the case of characters in a text_box control.
Definition character_casing.h:22
@ 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