September 15, 2006
Where have the Enter and Esc keys gone in my dialog box?

I spent almost a day trying to find out why my dialog in Borland C++ was closing with the press of an <Enter> or <Esc> key. When I set a break point I found those keys weren’t even being seen by the dialog. Finally after considerably searching I found that controls such as buttons have a Default property. If this is true then <Enter> or <Esc> will automatically press that button. Thanks for making this clear!

 
Posted by jservice at September 15, 2006 11:11 PM
Comments