[PATCH] user32: on VK_RETURN, send WM_COMMAND to ancestor, not parent.
dmitry at codeweavers.com
Wed Apr 9 01:27:36 CDT 2008
"Lei Zhang" <thestig at google.com> wrote:
> I thought maybe the DS_CONTROL style caused the message to get
> propagated up, like in DIALOG_FindMsgDestination(). So I did more
> I removed the DS_CONTROL style, but that didn't change the result of
> the test. I also tried something more elaborate, where we have a
> series of dialog windows, each of which contains another dialog
> window... until the last one which contains the edit control. When I
> send the edit control the VK_RETURN, the top most dialog window gets
> the WM_COMMAND with wparam=IDOK. None of the dialog boxes between the
> edit control and its ancestor gets the WM_COMMAND msg.
I'd like to see a fully fledged message test for this, with all 'parent'
messages logged, and full window tree parent->child1->child2 checked.
More information about the wine-devel