How do I handle it. It seems like Dialog Procedures don't handle WM_KEYDOWN or WM_KEYUP messages. Am I wrong.
If I press the '1' key, how can I use it to call a button procedure.
I don't have a window procedure. All I have in WinMain is
this
return DialogBox(hInstance, MAKEINTRESOURCE(IDD_DIALOG1), NULL, DlgProc);