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

Lei Zhang thestig at google.com
Fri Apr 4 09:47:05 CDT 2008


On Fri, Apr 4, 2008 at 6:24 AM, Dmitry Timoshkov <dmitry at codeweavers.com> wrote:
>
> "Lei Zhang" <thestig at google.com> wrote:
>
>
> > I noticed I can no longer install an application which uses the NSIS
> > installer by repeatedly hitting enter until it finished. I did some
> > testing and it looks like for VK_RETURN, we should be sending
> > WM_COMMAND to the ancestor, and not the parent.
> >
>
>  Was edit control reparented at some point? Perhaps WM_COMMAND should be
>  sent to an original parent?
>
>  --
>  Dmitry.
>

The edit control is the child of a dialog box bar, which is in turn
the child of another dialog box foo. SetParent() is not involved, if
that's what you mean.

- Lei



More information about the wine-devel mailing list