2014-04-23 VC++でVBのDoEvents関数 VC MSG msg; if (::PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) { ::TranslateMessage(&msg); ::DispatchMessage(&msg); } }ネタ元 http://www.softist.com/programming/doevents/doevents.htm http://rarara.cafe.coocan.jp/cgi-bin/lng/vc/vclng.cgi?print+200110/01100094.txt http://forums.codeguru.com/showthread.php?337851-DoEvents-in-MFC