eVC++ MFC

I am trying to handle the DM_GETDEFID message to handle a default button.
The default button was created programmatically using Create. When I set
the style to BS_DEFPUSHBUTTON, and hit the enter key, the button doesn't
press but an OnOK message fires instead. In Windows you can use the
DM_GETDEFID message and return the id of the default button. For some
reason in PocketPC, this message never fires and the OnOK always fires
instead when the enter key is pressed. Is there a way around this? I am
using eVC++ and MFC. Thanks

Timothy Dean