On 7/27/2012 7:00 PM, v3nOm wrote:
I currentl have a dialog which houses a button that is a default button. I want to prevent the default button from being click when a certain EDIT box/control has focus from the user. Does anyone have any advice on how i can do this? thanks
Subclass the control, handle WM_GETDLGCODE message, return DLGC_WANTMESSAGE when the MSG structure describes a VK_RETURN keypress.
Igor Tandetnik