On Tue, Jan 18, 2011 at 3:08 AM, Jacek Caban <span dir="ltr">&lt;<a href="mailto:jacek@codeweavers.com" target="_blank">jacek@codeweavers.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

...<br>
I&#39;m not sure what you mean by &quot;hijack the IOleCommandTarget&quot;. All we do is implementing client&#39;s IOleCommandTarget. It&#39;s something different from document&#39;s one.</blockquote><div><br>I understand that, but apparently the native implementation (testing on the test bot WXPPROSP3) sends the command to the client IOleCommandTarget instead of the document IOleCommandTarget (at least under the conditions of the webbrowser tests).� That is what I mean by hijacking, the command is going to the &quot;wrong&quot; target.� My guess would be that there is some sort of priority mechanism, though I have no idea how it would work (except maybe &quot;if there&#39;s a client/container then send to that target, else send to the document target).� I&#39;ve attached a test where I disabled the client/container, and you can see that it then gets passed through (QueryStatusWB will return success instead of passing through the client target and returning failure):<br>
<a href="https://testbot.winehq.org/JobDetails.pl?Key=8408">https://testbot.winehq.org/JobDetails.pl?Key=8408</a><br><br>Erich Hoover<br><a href="mailto:ehoover@mines.edu">ehoover@mines.edu</a><br>
</div></div>