pub struct CC(/* private fields */);
kernel
and user
only.Expand description
CHOOSECOLOR
Flags
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl CC
impl CC
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 CC
impl CC
sourcepub const RGBINIT: Self = _
pub const RGBINIT: Self = _
Causes the dialog box to use the color specified in the rgbResult
member as the initial color selection.
sourcepub const FULLOPEN: Self = _
pub const FULLOPEN: Self = _
Causes the dialog box to display the additional controls that allow the user to create custom colors. If this flag is not set the user must click the Define Custom Color button to display the custom color controls.
sourcepub const PREVENTFULLOPEN: Self = _
pub const PREVENTFULLOPEN: Self = _
Disables the Define Custom Color button.
sourcepub const SHOWHELP: Self = _
pub const SHOWHELP: Self = _
Causes the dialog box to display the Help button. The hwndOwner
member
must specify the window to receive the HELPMSGSTRING
registered
messages that the dialog box sends when the user clicks the Help button.
sourcepub const ENABLEHOOK: Self = _
pub const ENABLEHOOK: Self = _
Enables the hook procedure specified in the lpfnHook
member of this
structure. This flag is used only to initialize the dialog box.
sourcepub const ENABLETEMPLATE: Self = _
pub const ENABLETEMPLATE: Self = _
The hInstance
and lpTemplateName
members specify a dialog box
template to use in place of the default template. This flag is used only
to initialize the dialog box.
sourcepub const ENABLETEMPLATEHANDLE: Self = _
pub const ENABLETEMPLATEHANDLE: Self = _
The hInstance
member identifies a data block that contains a preloaded
dialog box template. The system ignores the lpTemplateName
member if
this flag is specified. This flag is used only to initialize the dialog
box.
sourcepub const SOLIDCOLOR: Self = _
pub const SOLIDCOLOR: Self = _
Causes the dialog box to display only solid colors in the set of basic colors.
Trait Implementations§
source§impl BitAndAssign for CC
impl BitAndAssign for CC
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
&=
operation. Read moresource§impl BitOrAssign for CC
impl BitOrAssign for CC
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
|=
operation. Read moresource§impl BitXorAssign for CC
impl BitXorAssign for CC
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
^=
operation. Read moresource§impl IntUnderlying for CC
impl IntUnderlying for CC
source§impl NativeBitflag for CC
impl NativeBitflag for CC
source§impl Ord for CC
impl Ord for CC
source§impl PartialOrd for CC
impl PartialOrd for CC
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