CakerX, if you want to check key presses in a specific ID, you can use DCX. I have DCX tracking the Enter key in an edit box to prevent having to use a hidden button to handle hitting Enter and having it move the edit line text into another control (in my case, a RichEdit control).

However, if you want keypresses for the DIALOG itself, that's where the problem comes in.