How Disable "Enter" key in Dialogs?

How Disable "Enter" key in Dialogs?

How do you disable the "enter" key? When running my dialog box and I hit the "enter" key, my whole window disappears and the application stops.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Jugoslav Dujic's picture

Just remove "default button" style from IDOK (and from any other button of course).

Jugoslav www.xeffort.com

Login to leave a comment.