[PATCH] user32: on VK_RETURN, send WM_COMMAND to ancestor, not parent.

Lei Zhang thestig at google.com
Wed Apr 9 22:50:23 CDT 2008


On Tue, Apr 8, 2008 at 11:27 PM, Dmitry Timoshkov
<dmitry at codeweavers.com> wrote:
> "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
> > tests.
> >
> > 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.
>
>  --
>  Dmitry.
>

Nevermind, this patch is wrong. I already sent a patch to unbreak all
the dialog problems I caused.



More information about the wine-devel mailing list