停止从OLE调用OpenDocumentFile [英] Stopping OpenDocumentFile getting called from OLE

查看:61
本文介绍了停止从OLE调用OpenDocumentFile的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我将我的一个doc类型粘贴到Wordpad中时,如何阻止OLE调用 OpenDocumentFile函数的任何想法。
<我知道我在做什么可能听起来有点奇怪但是如果有人能在这个领域发光,那就太棒了。

Any ideas how I can stop OLE calling the OpenDocumentFile function when I paste one of my doc types into, say, Wordpad.

I know what I'm doing may sound a bit wierd but if anyone can shed some light in this area, that's be great.

推荐答案

如果您在文档中支持OLE,那么当您将其放入worpad时,wordpad并不能真正编辑它。它使用您的应用程序"就地"编辑它。在ole视图中。如果您试图阻止这种情况,则不支持OLE。
If you support OLE in your document then when you drop it into worpad wordpad does not really edit it. It uses your application to edit it "in-place" within the ole view. If you are trying to prevent this then do not support OLE.


这篇关于停止从OLE调用OpenDocumentFile的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆