pub struct CC(/* private fields */);
kernel
and user
only.Expand description
CHOOSECOLOR
Flags
(u32
).
This is a bitflag constant.
Implementations§
Source§impl CC
impl CC
Sourcepub const unsafe fn as_mut(&mut self) -> &mut u32
pub const unsafe fn as_mut(&mut self) -> &mut u32
Returns a mutable reference to the underlying raw value.
§Safety
Be sure the integer being set is meaningful for the actual type.
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 more