try it this way
for(;<img src="wink.gif" width=15 height=15 align=middle> { if(PeekMessage(&msg,NULL,0,0,PM_REMOVE)) { if(msg.message==WM_QUIT) break; TranslateMessage(&msg); DispatchMessage(&msg); } Prog_Loop(); }
you dont need to call GetMessage
+---------------------------------------------
Help me program my 3d game
I just got a new copy of Lear C++ in 21 days!
+---------------------------------------------
Edited by - terminate on August 7, 2000 1:24:01 AM
Those who dance are considered insane by those who cannot hear the music.