Nikolay Sivov : shell32/tests: Try harder to close Open With window.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jul 7 08:11:58 CDT 2015


Module: wine
Branch: master
Commit: 28caa68d41c53e5dcf1d80273f8d23a9daf56dc8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=28caa68d41c53e5dcf1d80273f8d23a9daf56dc8

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Jul  6 21:44:56 2015 +0300

shell32/tests: Try harder to close Open With window.

---

 dlls/shell32/tests/shlexec.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c
index 0972b06..5189d2e 100644
--- a/dlls/shell32/tests/shlexec.c
+++ b/dlls/shell32/tests/shlexec.c
@@ -127,6 +127,8 @@ static INT_PTR shell_execute(LPCSTR verb, LPCSTR file, LPCSTR parameters, LPCSTR
         if (wait_rc == WAIT_TIMEOUT)
         {
             HWND wnd = FindWindowA("#32770", "Windows");
+            if (!wnd)
+                wnd = FindWindowA("Shell_Flyout", "");
             if (wnd != NULL)
             {
                 SendMessageA(wnd, WM_CLOSE, 0, 0);




More information about the wine-cvs mailing list