Hello, I have a question.

I make a patch, that fix problem with open html document in new window. I 
tested it on "MyIE 2" and it works. But I am not assured, whether it is 
possible to solve a problem in this way.

What do you think about it?

-- 
Sinitsin Ivan
Index: dlls/shdocvw/navigate.c
===================================================================
RCS file: /home/wine/wine/dlls/shdocvw/navigate.c,v
retrieving revision 1.51
diff -u -p -u -r1.51 navigate.c
--- dlls/shdocvw/navigate.c	15 Mar 2008 10:55:26 -0000	1.51
+++ dlls/shdocvw/navigate.c	21 Apr 2008 06:45:56 -0000
@@ -844,8 +844,9 @@ static HRESULT WINAPI HlinkFrame_Navigat
     /* Windows calls GetHlinkSite here */
 
     if(grfHLNF & HLNF_OPENINNEWWINDOW) {
-        FIXME("Not supported HLNF_OPENINNEWWINDOW\n");
-        return E_NOTIMPL;
+        static const WCHAR wszBlank[] = {'_','b','l','a','n','k',0};
+        IHlink_SetTargetFrameName(pihlNavigate, wszBlank); 
+        return IHlink_Navigate(pihlNavigate, grfHLNF, pbc, pibsc, phbc);
     }
 
     return navigate_hlink(&This->doc_host, mon, pbc, pibsc);


Reply via email to