Struct winsafe::msg::wm::CtlColorBtn
source · pub struct CtlColorBtn {
pub hdc: HDC,
pub hwnd: HWND,
}
Available on crate features
user
and gdi
only.Expand description
WM_CTLCOLORBTN
message parameters.
Return type: HBRUSH
.
Fields§
§hdc: HDC
§hwnd: HWND
Trait Implementations§
source§impl MsgSend for CtlColorBtn
impl MsgSend for CtlColorBtn
§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 CtlColorBtn
impl MsgSendRecv for CtlColorBtn
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 RefUnwindSafe for CtlColorBtn
impl Send for CtlColorBtn
impl !Sync for CtlColorBtn
impl Unpin for CtlColorBtn
impl UnwindSafe for CtlColorBtn
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