[PATCH 3/5] user32: Don't enable owner in DIALOG_DoDialogBox.
Dmitry Timoshkov
dmitry at baikal.ru
Mon Apr 11 07:24:34 CDT 2016
Jacek Caban <jacek at codeweavers.com> wrote:
> > Actually the fact that you can't reproduce the described above behaviour
> > with in your own tests tells quite a bit (yes, EndDialog() is not supposed
> > to enable a previously disabled owner under some conditions).
>
> Yes, that's the case if you reparent the dialog. My tests show that and
> implementation behaves as expected. We don't need DF_OWNERENABLED for that.
If you mean the trick with GWLP_HWNDPARENT then I'm not sure it's the best
or really correct way of solving the problem. But yes, it looks like a good
workaround.
--
Dmitry.
More information about the wine-devel
mailing list