Commit 8a97ca31 authored by chili's avatar chili
Browse files

1st message pump

parent e6b418a7
......@@ -32,6 +32,14 @@ int CALLBACK WinMain(
);
// show the damn window
ShowWindow( hWnd,SW_SHOW );
while( true );
// message pump
MSG msg;
while( GetMessage( &msg,nullptr,0,0 ) > 0 )
{
TranslateMessage( &msg );
DispatchMessage( &msg );
}
return 0;
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment