|
-
Dec 12th, 2002, 04:54 PM
#1
Thread Starter
Addicted Member
A Couple MFC Questions
1. I created a dialog App and ran it. Then when the window had focus I pressed the enter key, it didn't matter whether it was the window or a edit control or a list that had focus the window would always close and the application would quit when I did this. How come and why?
2. When I try to add an event to my Edit Control it only gives me about 6 or so events to choose from and none of them are the event u get when the user presses a key. What I want to do is have the app do something when the user presses the enter key in the text box. How can I do this with MFC, I mean how can I know when the user presses the enter key in the edit box?
Thank for any and all help in advanced.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|