I setup a dialog box and I want to receive WM_CHAR messages. so I used the MFC built-in OnChar() member function to do this. Yet Im not receiving any messages when I do hit a key. What I really want is to receive a message when the user presses the "DELETE" key. Yet I put a breakpoint in the function, hit keys when the dialog was up and the function never got called. I thought maybe the dialog box has an option to setup "key events" in the resource file, but I didn't find an option for that.
Anyone have any ideas?