|
-
August 26th, 2004, 12:17 AM
#1
Accelerators and edit controls
I am having trouble with accelerators and typing in edit controls. For example, if the user is typing text in an edit control in the app, and presses the delete key, instead of deleting a character like normal, it sends the ID_EDIT_DELETE command, causing the selected objects to be deleted. How can I fix this? I think I need to override PreTranslateMessage, and check what window has focus before passing it on, but I really don't know what to do in PreTranslateMessage. I would appreciate any help
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
|