ProgramminFool
Technical User
I create a MFC Dialog based app in MSVC++6
I get rid of all the controls (label, two buttons)
I add a windows message handler for WM_KEYDOWN
I change it so it shows a message with
AfxMessageBox("Hello", NULL, NULL);
Then I compile and run the program
If I press an arrow key, nothing happens! Why? The message shows when I press space, ctrl, almost anything else...how do I 'pick up' an arrow key from a dialog box?
Thanks for reading this!
-------------------------------------------------
“Talent is cheap, dedication is expensive. It will cost you your life.”
I get rid of all the controls (label, two buttons)
I add a windows message handler for WM_KEYDOWN
I change it so it shows a message with
AfxMessageBox("Hello", NULL, NULL);
Then I compile and run the program
If I press an arrow key, nothing happens! Why? The message shows when I press space, ctrl, almost anything else...how do I 'pick up' an arrow key from a dialog box?
Thanks for reading this!
-------------------------------------------------
“Talent is cheap, dedication is expensive. It will cost you your life.”