Original Post
I am making my first basic 2d render using directx and have setup a basic keyinput system using the basic functions like acquire keyboard.
My question what is the benifit of this over using the main message loop like so:
case WM_KEYDOWN:
if(wParam == VK_ESCAPE)
::DestroyWindow(MainWindowHandle);
if(wParam == VK_SPACE)
//EXCECUTE CODE
return 0;
this is a very basic question but one I could not find an answer to.
Thanks,
Plex
[edited by - plexmark on June 3, 2004 1:34:32 PM]