Trait winsafe::prelude::MsgSendRecv
source · pub unsafe trait MsgSendRecv: MsgSend {
// Required method
fn from_generic_wm(parm: WndMsg) -> Self;
}
Available on crate features
kernel
and user
only.Expand description
Parameters of a message which can be sent and handled (received).
Implemented by WndMsg
and all
msg::wm messages.
Allows the conversion from and to the generic WndMsg
parameters, and also defines the return type of the message.
§Safety
Messages manipulate pointers, copies and window states. Improper use may lead to undefined behavior.
Required Methods§
sourcefn from_generic_wm(parm: WndMsg) -> Self
fn from_generic_wm(parm: WndMsg) -> Self
Converts the generic WndMsg
parameters struct
into the specific message struct.
Object Safety§
This trait is not object safe.
Implementors§
impl MsgSendRecv for WndMsg
impl MsgSendRecv for Activate
impl MsgSendRecv for ActivateApp
impl MsgSendRecv for AppCommand
impl MsgSendRecv for CancelMode
impl MsgSendRecv for CaptureChanged
impl MsgSendRecv for Char
impl MsgSendRecv for ChildActivate
impl MsgSendRecv for Close
impl MsgSendRecv for Command
impl MsgSendRecv for ContextMenu
impl MsgSendRecv for CtlColorBtn
Available on crate feature
gdi
only.impl MsgSendRecv for CtlColorDlg
Available on crate feature
gdi
only.impl MsgSendRecv for CtlColorEdit
Available on crate feature
gdi
only.impl MsgSendRecv for CtlColorListBox
Available on crate feature
gdi
only.impl MsgSendRecv for CtlColorScrollBar
Available on crate feature
gdi
only.impl MsgSendRecv for CtlColorStatic
Available on crate feature
gdi
only.impl MsgSendRecv for DeadChar
Available on crate feature
gdi
only.impl MsgSendRecv for Destroy
impl MsgSendRecv for DisplayChange
Available on crate feature
gdi
only.impl MsgSendRecv for DropFiles
Available on crate feature
shell
only.impl MsgSendRecv for Enable
impl MsgSendRecv for EndSession
impl MsgSendRecv for EnterIdle
impl MsgSendRecv for EnterMenuLoop
impl MsgSendRecv for EnterSizeMove
impl MsgSendRecv for EraseBkgnd
impl MsgSendRecv for ExitMenuLoop
impl MsgSendRecv for ExitSizeMove
impl MsgSendRecv for GetFont
Available on crate feature
gdi
only.impl MsgSendRecv for GetHMenu
impl MsgSendRecv for GetHotKey
Available on crate features
comctl
and shell
only.impl MsgSendRecv for GetTextLength
impl MsgSendRecv for HScroll
impl MsgSendRecv for InitDialog
impl MsgSendRecv for InitMenuPopup
impl MsgSendRecv for KeyDown
impl MsgSendRecv for KeyUp
impl MsgSendRecv for KillFocus
impl MsgSendRecv for LButtonDblClk
impl MsgSendRecv for LButtonDown
impl MsgSendRecv for LButtonUp
impl MsgSendRecv for MButtonDblClk
impl MsgSendRecv for MButtonDown
impl MsgSendRecv for MButtonUp
impl MsgSendRecv for MenuCommand
impl MsgSendRecv for MenuDrag
impl MsgSendRecv for MenuRButtonUp
impl MsgSendRecv for MouseHover
impl MsgSendRecv for MouseLeave
impl MsgSendRecv for MouseMove
impl MsgSendRecv for Move
impl MsgSendRecv for NcDestroy
impl MsgSendRecv for NcHitTest
impl MsgSendRecv for NcPaint
Available on crate feature
gdi
only.impl MsgSendRecv for NextDlgCtl
impl MsgSendRecv for Null
impl MsgSendRecv for Paint
Available on crate feature
gdi
only.impl MsgSendRecv for ParentNotify
impl MsgSendRecv for QueryOpen
impl MsgSendRecv for RButtonDblClk
impl MsgSendRecv for RButtonDown
impl MsgSendRecv for RButtonUp
impl MsgSendRecv for SetCursor
impl MsgSendRecv for SetFocus
impl MsgSendRecv for SetFont
Available on crate feature
gdi
only.impl MsgSendRecv for SetHotKey
Available on crate features
comctl
and shell
only.impl MsgSendRecv for SetIcon
impl MsgSendRecv for SetRedraw
Available on crate feature
gdi
only.impl MsgSendRecv for SetText
impl MsgSendRecv for ShowWindow
impl MsgSendRecv for Size
impl MsgSendRecv for SyncPaint
Available on crate feature
gdi
only.impl MsgSendRecv for SysChar
impl MsgSendRecv for SysCommand
impl MsgSendRecv for SysDeadChar
impl MsgSendRecv for SysKeyDown
impl MsgSendRecv for SysKeyUp
impl MsgSendRecv for ThemeChanged
impl MsgSendRecv for Timer
impl MsgSendRecv for Undo
impl MsgSendRecv for UninitMenuPopup
impl MsgSendRecv for VScroll
impl MsgSendRecv for WtsSessionChange
impl MsgSendRecv for XButtonDblClk
impl MsgSendRecv for XButtonDown
impl MsgSendRecv for XButtonUp
impl<'a> MsgSendRecv for DeleteItem<'a>
impl<'a> MsgSendRecv for DeviceChange<'a>
impl<'a> MsgSendRecv for GetDlgCode<'a>
impl<'a> MsgSendRecv for GetMinMaxInfo<'a>
impl<'a> MsgSendRecv for GetText<'a>
impl<'a> MsgSendRecv for GetTitleBarInfoEx<'a>
impl<'a> MsgSendRecv for Help<'a>
impl<'a> MsgSendRecv for Moving<'a>
impl<'a> MsgSendRecv for Notify<'a>
Available on crate feature
comctl
only.