Class: Win::Gui::Message::Msg
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Win::Gui::Message::Msg
- Defined in:
- lib/win/gui/message.rb
Overview
The MSG structure contains message information from a thread’s message queue.
typedef struct
HWND hwnd;
UINT ;
WPARAM wParam;
LPARAM lParam;
DWORD time;
POINT pt;
MSG, *PMSG;
- hwnd
-
Handle to the window whose window procedure receives the message. NULL when the message is a thread message.
- message
-
Message identifier. Apps can only use the low word; the high word is reserved by the system.
- wParam
-
Additional info about the message. Exact meaning depends on the value of the message member.
- lParam
-
Additional info about the message. Exact meaning depends on the value of the message member.
- time
-
Specifies the time at which the message was posted.
- pt
-
POINT structure - the cursor position, in screen coordinates, when the message was posted. (in my definition, it is changed to two longs: x, y - has the same effect, just avoid nested structs)