消息类型
消息的产生
鼠标 键盘 其它应用程序 内核程序
消息的处理过程
MSG
typedef struct tagMSG {
HWND hwnd; //Handle to the window whose window procedure receives the message. //消息是基于句柄的
UINT message; //Specifies the message identifier.//消息是什么样的呢
WPARAM wParam; //Specifies additional information about the message. The exact meaning depends on the value of the message member.
LPARAM lParam; //Specifies additional information about the message. The exact meaning depends on the value of the message member.
DWORD time; //Specifies the time at which the message was posted. //消息什么时候产生的
POINT pt;//Specifies the cursor position, in screen coordinates, when the message was posted.
} MSG;