VC++ 实现VB中的DoEvents

MSG msg;
while ( PeekMessage (&msg, NULL ,0,0, PM_REMOVE ))
{
DispatchMessage (&msg);

TranslateMessage (&msg);
}

Published At
Categories with Web编程
Tagged with
comments powered by Disqus