pub struct UDS(/* private fields */);
kernel
and comctl
only.Expand description
Up-down control
styles
(u32
).
This is a window style, convertible to WS
.
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl UDS
impl UDS
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 UDS
impl UDS
sourcepub const WRAP: Self = _
pub const WRAP: Self = _
Causes the position to “wrap” if it is incremented or decremented beyond the ending or beginning of the range.
sourcepub const SETBUDDYINT: Self = _
pub const SETBUDDYINT: Self = _
Causes the up-down control to set the text of the buddy window (using
the WM_SETTEXT
message) when the position
changes. The text consists of the position formatted as a decimal or
hexadecimal string.
sourcepub const ALIGNRIGHT: Self = _
pub const ALIGNRIGHT: Self = _
Positions the up-down control next to the right edge of the buddy window. The width of the buddy window is decreased to accommodate the width of the up-down control.
sourcepub const ALIGNLEFT: Self = _
pub const ALIGNLEFT: Self = _
Positions the up-down control next to the left edge of the buddy window. The buddy window is moved to the right, and its width is decreased to accommodate the width of the up-down control.
sourcepub const AUTOBUDDY: Self = _
pub const AUTOBUDDY: Self = _
Automatically selects the previous window in the z-order as the up-down control’s buddy window.
sourcepub const ARROWKEYS: Self = _
pub const ARROWKEYS: Self = _
Causes the up-down control to increment and decrement the position when the UP ARROW and DOWN ARROW keys are pressed.
sourcepub const HORZ: Self = _
pub const HORZ: Self = _
Causes the up-down control’s arrows to point left and right instead of up and down.
sourcepub const NOTHOUSANDS: Self = _
pub const NOTHOUSANDS: Self = _
Does not insert a thousands separator between every three decimal digits.
Trait Implementations§
source§impl BitAndAssign for UDS
impl BitAndAssign for UDS
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
&=
operation. Read moresource§impl BitOrAssign for UDS
impl BitOrAssign for UDS
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
|=
operation. Read moresource§impl BitXorAssign for UDS
impl BitXorAssign for UDS
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
^=
operation. Read moresource§impl IntUnderlying for UDS
impl IntUnderlying for UDS
source§impl NativeBitflag for UDS
impl NativeBitflag for UDS
source§impl Ord for UDS
impl Ord for UDS
source§impl PartialOrd for UDS
impl PartialOrd for UDS
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