I have a similar problem with the VK_UP & VK_DOWN in a CEdit control.
Does anyone know how to figure these problems out ?
Thanks
Klaus Hagen
Klaus,
The VK_RETURN is probably getting translated into the default button
action if the control in a dialog.
I think you should be able to trap the WM_KEYDOWN message in
PreTranslateMessage.
Dave
----
Address is altered to discourage junk mail.
Remove ".---" for the real address.