I have a CDialog that I don't want to be closed when the <ENTER> key is pressed, but I can't figure out where to intercept the MFC auto-magic processing. I have tried overriding OnKeyDown, OnChar etc........ and many others, but I'm not getting it! Perhaps too little sleep. Anyhow, I'm sure this is simple, but just elusive right now. Can anyone help?

Thanks in advance.