user32: Always enable owner window in EndDialog.
Alexandre Julliard
julliard at winehq.org
Thu Feb 25 05:32:47 CST 2016
Jacek Caban <jacek at codeweavers.com> writes:
> @@ -12245,6 +12245,7 @@ static void test_EndDialog(void)
> hactive = GetForegroundWindow();
> ok(hdlg == hactive, "Wrong window has focus (%p != %p)\n", hdlg, hactive);
> EndDialog(hdlg, 0);
> + ok(IsWindowEnabled(hparent), "parent is not enabled\n");
> hactive = GetForegroundWindow();
> ok(hparent == hactive, "Wrong window has focus (parent != active) (active: %p, parent: %p, dlg: %p, other: %p)\n", hactive, hparent, hdlg, hother);
> DestroyWindow(hdlg);
It would be interesting to test what happens if the dialog is not the
active window.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list