Struct winsafe::msg::wm::CtlColorStatic
source · pub struct CtlColorStatic {
pub hdc: HDC,
pub hwnd: HWND,
}
Available on crate features
user
and gdi
only.Expand description
WM_CTLCOLORSTATIC
message parameters.
Return type: HBRUSH
.
Fields§
§hdc: HDC
§hwnd: HWND
Trait Implementations§
source§impl MsgSend for CtlColorStatic
impl MsgSend for CtlColorStatic
§type RetType = HBRUSH
type RetType = HBRUSH
Available on crate feature
user
only.The specific type of the value returned by the message.
source§fn convert_ret(&self, v: isize) -> Self::RetType
fn convert_ret(&self, v: isize) -> Self::RetType
Available on crate feature
user
only.Converts the generic
isize
return value to the specific type returned
by the message.source§fn as_generic_wm(&mut self) -> WndMsg
fn as_generic_wm(&mut self) -> WndMsg
Available on crate feature
user
only.Converts the specific message parameters struct into the generic
WndMsg
message struct.source§impl MsgSendRecv for CtlColorStatic
impl MsgSendRecv for CtlColorStatic
source§fn from_generic_wm(p: WndMsg) -> Self
fn from_generic_wm(p: WndMsg) -> Self
Available on crate feature
user
only.Converts the generic
WndMsg
parameters struct
into the specific message struct.Auto Trait Implementations§
impl Freeze for CtlColorStatic
impl RefUnwindSafe for CtlColorStatic
impl Send for CtlColorStatic
impl !Sync for CtlColorStatic
impl Unpin for CtlColorStatic
impl UnwindSafe for CtlColorStatic
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more