MS Office的ATL加载项问题 [英] Problem of ATL addins for MS Office

查看:172
本文介绍了MS Office的ATL加载项问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因为我的母语不是英语,所以请接受我的表情,我就能理解你的表情.

我知道如何通过ATL制作简单的Office插件,就像将VBA宏转换为C ++一样.但是我不知道如何添加MFC函数或Windows消息处理程序(我的意思是我可以在AppWizard中添加"但可以不处理它-是否需要使用STDMETHODIMP-或其他东西?).

这是我的项目:
在Word文档上放置一个图章,它会浮在文本上并可以移动.R单击该图章,它会弹出一个菜单,我们可以在此页面中签名该图章,在所有页面中将其删除,依此类推.
现在我可以在Word中放入bmp,但是无法设置弹出菜单.

另一个问题是,MS Word函数记录宏(我不知道确切的表达)",当我要设置图片文本浮动"时,该选项为灰色.然后我暂停了记录宏"功能,则可以使用该选项.这意味着我无法记录"float"宏.

这是我第一次在英语论坛上提问,也许我是亵渎神灵,请原谅.

谢谢.

PS:问问题时如何选择论坛专栏?

Because my first language is not English,so just take in my expression,and I can understand your expression.

I known how to make simple addins of office by ATL,just like translate VBA macro to C++ or something.But I don''t known how to add MFC function or windows message handler(I mean I can "add" in AppWizard but can''t deal with it--need it use STDMETHODIMP--or something too?) in it.

Here is my project:
Put a seal on Word document,it floats upon the text and can move.R-click the seal,it popups a menu,we can sign the seal in this page,in all page,delete it and so on.
Now I can put a bmp in Word,but can''t set the popup menu.

Another problem is,the MS Word function "record macro(I don''t know the exactly expression)",when I want to set the picture "float on text",the option is gray.Then I pause the function "record macro",the option can be used.That means I can''t record the "float" macro.

This is my first time to ask queston on english speaking forum,maybe I am prolixity or something,please forgive me.

Thanks.

PS:How to choose forum column when I ask a question?

推荐答案

您是否已在CSDN上发布问题?
Do you post the problem on CSDN already?


这篇关于MS Office的ATL加载项问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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