SimpleWindow
载入中...
搜索中...
未找到
ProcMsg.h
1#pragma once
2
3#include <Windows.h>
4
5namespace sw
6{
10 struct ProcMsg {
14 HWND hwnd;
15
19 UINT uMsg;
20
24 WPARAM wParam;
25
29 LPARAM lParam;
30
34 ProcMsg() = default;
35
39 ProcMsg(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
40 };
41}
对Windows窗口消息的封装
Definition ProcMsg.h:10
WPARAM wParam
消息的附加信息
Definition ProcMsg.h:24
ProcMsg(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
构造ProcMsg
UINT uMsg
消息类型
Definition ProcMsg.h:19
HWND hwnd
接收到消息的窗口句柄
Definition ProcMsg.h:14
LPARAM lParam
消息的附加信息
Definition ProcMsg.h:29
ProcMsg()=default
默认构造函数