Quote (flyinggoat @ 7 Nov 2013 15:53)
You mean the WinAPI PeekMessage function? In that case you need to use the regular window procedure calls:
if(PeekMessage(&Msg,NULL,0,0))
{
TranslateMessage(&Msg);
DispatchMessage(&Msg);
}
Then catch the message in the your WndPrc or whatever you called it
ok ty but I just find out using Msg.wParam
