R
Robert
I have a Combobox and a DefPushButton in a PropertyPage as form (a
main window; not modal dialog)
Pressing RETURN in the Combobox or any Editfield in the form doesn't
issue a WM_COMMAND/OnOK
(When running the dialogtemplate as normal dialog it works.)
I also made a extra invitation by DM_SETDEFID :
self.SendMessage(wc.DM_SETDEFID, 303, 0)
- it still won't work. I'm also not able to catch the return key
(WM_KEYDOWN, WM_CHAR) at all inside the combobox control or the page,
but I can catch all other keys. Playing with DLGC_WANTALLKEYS also
doesn't help to get the VK_RETURN in any case. Whats going with
[RETURN] in a non-modal sub-prop-page form ? What can I do?
Robert
(I use Pythonwin on top of MFC; it should not matter.)
main window; not modal dialog)
Pressing RETURN in the Combobox or any Editfield in the form doesn't
issue a WM_COMMAND/OnOK
(When running the dialogtemplate as normal dialog it works.)
I also made a extra invitation by DM_SETDEFID :
self.SendMessage(wc.DM_SETDEFID, 303, 0)
- it still won't work. I'm also not able to catch the return key
(WM_KEYDOWN, WM_CHAR) at all inside the combobox control or the page,
but I can catch all other keys. Playing with DLGC_WANTALLKEYS also
doesn't help to get the VK_RETURN in any case. Whats going with
[RETURN] in a non-modal sub-prop-page form ? What can I do?
Robert
(I use Pythonwin on top of MFC; it should not matter.)