Re: When presses ENTER on Edit BOX



There is no such error. There is ALWAYS an explanation about WHY this happened. Knowing
you have the generic dialog box doesn't help.

For example, you can have only ONE button with IDOK. It doesn't hurt to do a "Rebuild
All" after such a change. But to simply tell about some meaningless set of buttons
without giving the actual error text is not a useful report.
joe

On Wed, 6 Sep 2006 20:10:50 +0530, "Sandipan Aich" <efextra@xxxxxxxxxxxxxxxxx> wrote:

Renaming the Submit button to IDOK gives a run time error asking to
Abort, Ignore or Retry.....
what should I do now...
"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in message
news:onltf25g3p54gmg327bmied1mfcehr7t92@xxxxxxxxxx
You don't need to do anything. <enter> will activate the default dialog
button, so if you
just rename the OK button to have the caption Submit, it will just work.
joe

On Wed, 6 Sep 2006 15:28:26 +0530, "Sandipan Aich"
<efextra@xxxxxxxxxxxxxxxxx> wrote:

how can I catch the event, when I press enter in an edit box.
If I want to write a VC++ code where the
routine for a "Submit" button is called as soon as I press enter on the
"Password" Edit box.
How can I do that????

Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm

Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.


Loading