xtd 0.2.0
Loading...
Searching...
No Matches
edit styles

Definition

edit styles definitions.

Warning
Internal use only

Variables

constexpr size_t ES_LEFT
 Left-aligns text in a single-line or multiline edit control.
 
constexpr size_t ES_CENTER
 Centers text in a single-line or multiline edit control.
 
constexpr size_t ES_RIGHT
 Right-aligns text in a single-line or multiline edit control.
 
constexpr size_t ES_MULTILINE
 Designates a multiple-line edit control. (The default is single line.) If the ES_AUTOVSCROLL style is specified, the edit control shows as many lines as possible and scrolls vertically when the user presses the ENTER key. If ES_AUTOVSCROLL is not given, the edit control shows as many lines as possible and beeps if ENTER is pressed when no more lines can be displayed. If the ES_AUTOHSCROLL style is specified, the multiple-line edit control automatically scrolls horizontally when the caret goes past the right edge of the control. To start a new line, the user must press ENTER. If ES_AUTOHSCROLL is not given, the control automatically wraps words to the beginning of the next line when necessary; a new line is also started if ENTER is pressed. The position of the wordwrap is determined by the window size. If the window size changes, the wordwrap position changes and the text is redisplayed. Multiple-line edit controls can have scroll bars. An edit control with scroll bars processes its own scroll-bar messages. Edit controls without scroll bars scroll as described above and process any scroll messages sent by the parent window.
 
constexpr size_t ES_UPPERCASE
 Converts all characters to uppercase as they are typed into the edit control.
 
constexpr size_t ES_LOWERCASE
 Converts all characters to lowercase as they are typed into the edit control.
 
constexpr size_t ES_PASSWORD
 Displays all characters as an asterisk (*) as they are typed into the edit control. An application can use the SetPasswordChar member function to change the character that is displayed.
 
constexpr size_t ES_AUTOVSCROLL
 Automatically scrolls text up one page when the user presses ENTER on the last line.
 
constexpr size_t ES_AUTOHSCROLL
 Automatically scrolls text to the right by 10 characters when the user types a character at the end of the line. When the user presses the ENTER key, the control scrolls all text back to position 0.
 
constexpr size_t ES_NOHIDESEL
 Normally, an edit control hides the selection when the control loses the input focus and inverts the selection when the control receives the input focus. Specifying ES_NOHIDESEL deletes this default action.
 
constexpr size_t ES_OEMCONVERT
 Text entered in the edit control is converted from the ANSI character set to the OEM character set and then back to ANSI. This ensures proper character conversion when the application calls the AnsiToOem Windows function to convert an ANSI string in the edit control to OEM characters. This style is most useful for edit controls that contain filenames.
 
constexpr size_t ES_READONLY
 Prevents the user from entering or editing text in the edit control.
 
constexpr size_t ES_WANTRETURN
 Specifies that a carriage return be inserted when the user presses the ENTER key while entering text into a multiple-line edit control in a dialog box. Without this style, pressing the ENTER key has the same effect as pressing the dialog boxes default pushbutton. This style has no effect on a single-line edit control.
 
constexpr size_t ES_NUMBER
 Allows only digits to be entered into the edit control.
 
constexpr size_t ES_WANTTAB
 Specifies that a tabulation be inserted when the user presses the TAB key while entering text into a edit control.
 

Variable Documentation

◆ ES_LEFT

constexpr size_t ES_LEFT
constexpr

#include <xtd.forms.native/include/xtd/forms/native/edit_styles.hpp>

Left-aligns text in a single-line or multiline edit control.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ ES_CENTER

constexpr size_t ES_CENTER
constexpr

#include <xtd.forms.native/include/xtd/forms/native/edit_styles.hpp>

Centers text in a single-line or multiline edit control.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ ES_RIGHT

constexpr size_t ES_RIGHT
constexpr

#include <xtd.forms.native/include/xtd/forms/native/edit_styles.hpp>

Right-aligns text in a single-line or multiline edit control.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ ES_MULTILINE

constexpr size_t ES_MULTILINE
constexpr

#include <xtd.forms.native/include/xtd/forms/native/edit_styles.hpp>

Designates a multiple-line edit control. (The default is single line.) If the ES_AUTOVSCROLL style is specified, the edit control shows as many lines as possible and scrolls vertically when the user presses the ENTER key. If ES_AUTOVSCROLL is not given, the edit control shows as many lines as possible and beeps if ENTER is pressed when no more lines can be displayed. If the ES_AUTOHSCROLL style is specified, the multiple-line edit control automatically scrolls horizontally when the caret goes past the right edge of the control. To start a new line, the user must press ENTER. If ES_AUTOHSCROLL is not given, the control automatically wraps words to the beginning of the next line when necessary; a new line is also started if ENTER is pressed. The position of the wordwrap is determined by the window size. If the window size changes, the wordwrap position changes and the text is redisplayed. Multiple-line edit controls can have scroll bars. An edit control with scroll bars processes its own scroll-bar messages. Edit controls without scroll bars scroll as described above and process any scroll messages sent by the parent window.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ ES_UPPERCASE

constexpr size_t ES_UPPERCASE
constexpr

#include <xtd.forms.native/include/xtd/forms/native/edit_styles.hpp>

Converts all characters to uppercase as they are typed into the edit control.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ ES_LOWERCASE

constexpr size_t ES_LOWERCASE
constexpr

#include <xtd.forms.native/include/xtd/forms/native/edit_styles.hpp>

Converts all characters to lowercase as they are typed into the edit control.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ ES_PASSWORD

constexpr size_t ES_PASSWORD
constexpr

#include <xtd.forms.native/include/xtd/forms/native/edit_styles.hpp>

Displays all characters as an asterisk (*) as they are typed into the edit control. An application can use the SetPasswordChar member function to change the character that is displayed.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ ES_AUTOVSCROLL

constexpr size_t ES_AUTOVSCROLL
constexpr

#include <xtd.forms.native/include/xtd/forms/native/edit_styles.hpp>

Automatically scrolls text up one page when the user presses ENTER on the last line.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ ES_AUTOHSCROLL

constexpr size_t ES_AUTOHSCROLL
constexpr

#include <xtd.forms.native/include/xtd/forms/native/edit_styles.hpp>

Automatically scrolls text to the right by 10 characters when the user types a character at the end of the line. When the user presses the ENTER key, the control scrolls all text back to position 0.

Library
xtd.forms.native
Warning
Internal use only
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ ES_NOHIDESEL

constexpr size_t ES_NOHIDESEL
constexpr

#include <xtd.forms.native/include/xtd/forms/native/edit_styles.hpp>

Normally, an edit control hides the selection when the control loses the input focus and inverts the selection when the control receives the input focus. Specifying ES_NOHIDESEL deletes this default action.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ ES_OEMCONVERT

constexpr size_t ES_OEMCONVERT
constexpr

#include <xtd.forms.native/include/xtd/forms/native/edit_styles.hpp>

Text entered in the edit control is converted from the ANSI character set to the OEM character set and then back to ANSI. This ensures proper character conversion when the application calls the AnsiToOem Windows function to convert an ANSI string in the edit control to OEM characters. This style is most useful for edit controls that contain filenames.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ ES_READONLY

constexpr size_t ES_READONLY
constexpr

#include <xtd.forms.native/include/xtd/forms/native/edit_styles.hpp>

Prevents the user from entering or editing text in the edit control.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ ES_WANTRETURN

constexpr size_t ES_WANTRETURN
constexpr

#include <xtd.forms.native/include/xtd/forms/native/edit_styles.hpp>

Specifies that a carriage return be inserted when the user presses the ENTER key while entering text into a multiple-line edit control in a dialog box. Without this style, pressing the ENTER key has the same effect as pressing the dialog boxes default pushbutton. This style has no effect on a single-line edit control.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ ES_NUMBER

constexpr size_t ES_NUMBER
constexpr

#include <xtd.forms.native/include/xtd/forms/native/edit_styles.hpp>

Allows only digits to be entered into the edit control.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ ES_WANTTAB

constexpr size_t ES_WANTTAB
constexpr

#include <xtd.forms.native/include/xtd/forms/native/edit_styles.hpp>

Specifies that a tabulation be inserted when the user presses the TAB key while entering text into a edit control.

Library
xtd.forms.native
Remarks
Added specifically for xtd.
Warning
Internal use only