On Tue, Apr 8, 2008 at 11:27 PM, Dmitry Timoshkov <[EMAIL PROTECTED]> wrote: > "Lei Zhang" <[EMAIL PROTECTED]> 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.