I wish to invoke a certain operation through keys( keyboard ). For example, I wish to delete the selected object if the user type the 'delete key'. Which is the most suitable class that will receive the message?
I'm doing on a digital circuit simulator. If I wish to delete the selected object by typing the delete key, could anyone suggest to me some relevant code. I can't find the correct code for the delete operation. In my project, I'm only using the very basic classes which are Cmainfrm, Cdocument, Cview, Class generated from the dialog box, and Capp.