pub struct ILC(/* private fields */);
kernel
and comctl
only.Expand description
HIMAGELIST::Create
flags
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl ILC
impl ILC
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 ILC
impl ILC
sourcepub const MASK: Self = _
pub const MASK: Self = _
Use a mask. The image list contains two bitmaps one of which is a monochrome bitmap used as a mask. If this value is not included the image list contains only one bitmap.
sourcepub const COLOR: Self = _
pub const COLOR: Self = _
Use the default behavior if none of the other ILC::COLORx
flags is
specified. Typically the default is ILC::COLOR4
but for older
display drivers the default is ILC::COLORDDB
.
sourcepub const COLOR4: Self = _
pub const COLOR4: Self = _
Use a 4-bit (16-color) device-independent bitmap (DIB) section as the bitmap for the image list.
sourcepub const COLOR8: Self = _
pub const COLOR8: Self = _
Use an 8-bit DIB section. The colors used for the color table are the same colors as the halftone palette.
sourcepub const PERITEMMIRROR: Self = _
pub const PERITEMMIRROR: Self = _
Causes the mirroring code to mirror each item when inserting a set of images versus the whole strip.
sourcepub const ORIGINALSIZE: Self = _
pub const ORIGINALSIZE: Self = _
Windows Vista and later. Imagelist should accept smaller than set images and apply original size based on image added.
Trait Implementations§
source§impl BitAndAssign for ILC
impl BitAndAssign for ILC
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
&=
operation. Read moresource§impl BitOrAssign for ILC
impl BitOrAssign for ILC
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
|=
operation. Read moresource§impl BitXorAssign for ILC
impl BitXorAssign for ILC
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
^=
operation. Read moresource§impl IntUnderlying for ILC
impl IntUnderlying for ILC
source§impl NativeBitflag for ILC
impl NativeBitflag for ILC
source§impl Ord for ILC
impl Ord for ILC
source§impl PartialOrd for ILC
impl PartialOrd for ILC
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