消息的获取-Win32.pp

时间:2021-04-26 09:35:27
【文件属性】:
文件名称:消息的获取-Win32.pp
文件大小:2.67MB
文件格式:PPT
更新时间:2021-04-26 09:35:27
Win32.pp 消息的获取 GetMessage - 从系统获取消息,将消息从系统中移除,阻塞函数。当系统无消息时,GetMessage会等候下一条消息。 PeekMessage - 以查看的方式从系统获取消息,可以不将消息从系统移除,非阻塞函数。当系统无消息时,返回FALSE,继续执行后续代码。 BOOL PeekMessage( LPMSG lpMsg, // message information HWND hWnd, // handle to window UINT wMsgFilterMin, // first message UINT wMsgFilterMax, // last message UINT wRemoveMsg //移除标识 );

网友评论