Keyboard events, dialog boxes.
I have a dialog box as a resource. Here is the message loop:
WM_KEYDOWN is sent when a key is pressed, as long as there are no buttons or controls on the dialog box. (I'm guessing the message is sent to the buttons and stuff rather than the dialog) How can I make it so that when the user presses enter in my EDITTEXT, the program can be told and do stuff?
BOOL WINAPI DlgProc(HANDLE hDlg, int msg, int param1, long param2)
default: return false;