Keyboard Message
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
-
- I want to implement such function: - When I press an "Enter" key, the program stops immediately and a messagebox occurs. When I press any other key (after closing the messagebox), the program goes on. - Can you give me a sample code? - Regards, Maer
Is this an MFC application. Does the GUI have any controls on it such as edit controls. Look at WM_KEYDOWN for catching the Enter key. Michael :-)