How to use ENTER like TAB on a CEdit Ctrl?
Posted on 2001-07-08
I have a modal dlg box with several CEdit controls.
TAB jumps from one control to the next, while pressing ENTER closes the dlg with OnOK (as OK-button is standard selection).
Regular behavior by framework, I think.
When pressing ENTER after typing data into the first CEdit control, I want the focus jump to the next control, like it does when pressing TAB, and not close the dlg.
The user should be able to use the rightern keyboard block to fill all CEdit controls, one after the other.
Hope you understand what I mean...
How do I do that ? I heard that something like message reflection could help.