2013年4月26日

PeekMessage抓取消息,如何把每个消息都获取到呢?

摘要: 有一个看似简单的问题: 1 while(1) 2 { 3 while(::PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) 4 { 5 if (WM_QUIT == msg.message) 6 { 7 goto _quit; 8 } 9 10 ::TranslateMessage(&msg);11 ::DispatchMessage(&msg);12 ... 阅读全文

posted @ 2013-04-26 11:18 EmbeddedBoy_jsu_xtw 阅读(703) 评论(0) 推荐(0)

导航