Commit 7a4873bb authored by chili's avatar chili
Browse files

where's walto?

parent 7e429cd5
......@@ -37,6 +37,10 @@ int CALLBACK WinMain(
// TranslateMessage will post auxilliary WM_CHAR messages from key msgs
TranslateMessage( &msg );
DispatchMessage( &msg );
if( wnd.kbd.KeyIsPressed( VK_MENU ) )
{
MessageBox( nullptr,"Something Happon!","The alt key was pressed",MB_OK | MB_ICONEXCLAMATION );
}
}
// check if GetMessage call itself borked
......
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