BOOL GetMessage(
LPMSG lpMsg, // 消息结构体指针,无需初始化
HWND hWnd, // 获取哪个窗体的消息,NULL为所有窗体
UINT wMsgFilterMin, // first message
UINT wMsgFilterMax // last message
);
wMsgFilterMin和wMsgFilterMax为0,GetMessage返回所有可用的消息
BOOL GetMessage(
LPMSG lpMsg, // 消息结构体指针,无需初始化
HWND hWnd, // 获取哪个窗体的消息,NULL为所有窗体
UINT wMsgFilterMin, // first message
UINT wMsgFilterMax // last message
);
wMsgFilterMin和wMsgFilterMax为0,GetMessage返回所有可用的消息