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.

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


Leave a Comment

Please sign in to add a comment. Not a member? Join today