新幸福好男人 <anddy.bbs@vlsi1.iie.ncku.edu.tw> wrote:
> ==> wu55.bbs@cis.nctu.edu.tw (wu man) 在 programming 版提到:
> : 比方說我在while loop中我只想get keyboard的message其它都不處理,要怎麼做?
> WM_CHAR OnChar()
Maybe you can write:
MSG theMsg;
while(...)
{
GetMessage(&theMsg, NULL, WM_KEYFIRST, WM_KEYLAST);
...
}
And you can see other messages' constant in Winuser.h files.
Good Luck to You
ycliaw
---