pub struct ES(/* private fields */);
kernel
and user
only.Expand description
Edit control
styles
(u32
).
This is a window style, convertible to WS
.
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl ES
impl ES
sourcepub const unsafe fn from_raw(v: u32) -> Self
pub const unsafe fn from_raw(v: u32) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
sourcepub const fn raw(&self) -> u32
pub const fn raw(&self) -> u32
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
source§impl ES
impl ES
sourcepub const UPPERCASE: Self = _
pub const UPPERCASE: Self = _
Converts all characters to uppercase as they are typed into the edit control.
sourcepub const LOWERCASE: Self = _
pub const LOWERCASE: Self = _
Converts all characters to lowercase as they are typed into the edit control.
sourcepub const PASSWORD: Self = _
pub const PASSWORD: Self = _
Displays an asterisk (*) for each character typed into the edit control.
This style is valid only for single-line edit controls. To change the
characters that is displayed, or set or clear this style, use the
EM_SETPASSWORDCHAR
message.
sourcepub const AUTOVSCROLL: Self = _
pub const AUTOVSCROLL: Self = _
Automatically scrolls text up one page when the user presses the ENTER key on the last line.
sourcepub const AUTOHSCROLL: Self = _
pub const AUTOHSCROLL: Self = _
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 zero.
sourcepub const NOHIDESEL: Self = _
pub const NOHIDESEL: Self = _
Negates the default behavior for an edit control. The default behavior hides the selection when the control loses the input focus and inverts the selection when the control receives the input focus.
sourcepub const OEMCONVERT: Self = _
pub const OEMCONVERT: Self = _
Converts text entered in the edit control. The text is converted from the Windows character set to the OEM character set and then back to the Windows character set. This style is most useful for edit controls that contain file names that will be used on file systems that do not support Unicode.
sourcepub const READONLY: Self = _
pub const READONLY: Self = _
Prevents the user from typing or editing text in the edit control.
sourcepub const WANTRETURN: Self = _
pub const WANTRETURN: Self = _
Specifies that a carriage return be inserted when the user presses the ENTER key while entering text into a multiline edit control in a dialog box. If you do not specify this style, pressing the ENTER key has the same effect as pressing the dialog box’s default push button. This style has no effect on a single-line edit control.
Trait Implementations§
source§impl BitAndAssign for ES
impl BitAndAssign for ES
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
&=
operation. Read moresource§impl BitOrAssign for ES
impl BitOrAssign for ES
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
|=
operation. Read moresource§impl BitXorAssign for ES
impl BitXorAssign for ES
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
^=
operation. Read moresource§impl IntUnderlying for ES
impl IntUnderlying for ES
source§impl NativeBitflag for ES
impl NativeBitflag for ES
source§impl Ord for ES
impl Ord for ES
source§impl PartialOrd for ES
impl PartialOrd for ES
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more