撰写时禁用Outlook加载项命令按钮 [英] Outlook Add-in command button disabled when composing

查看:100
本文介绍了撰写时禁用Outlook加载项命令按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的外接程序有一个MessageComposeCommandSurface ExtensionPoint,当用户编写邮件时,该按钮将一个按钮添加到功能区.我希望按钮在可见时始终处于启用状态(例如,当用户撰写新消息或回复现有消息时),但是有时它会变灰/禁用,我不确定为什么.

My add-in has a MessageComposeCommandSurface ExtensionPoint that adds a button to the ribbon when the user is composing a message. I expected the button to always be enabled when it is visible (e.g. when the user is composing a new message or replying to an existing one), but sometimes it is greyed out/disabled and I'm not sure why.

有人知道灰色/禁用外接功能区按钮的确切情况吗?

Does anyone know the exact circumstances for when an add-in ribbon button is greyed out/disabled?

推荐答案

尝试禁用某些COM加载项,然后再次启用它.就我而言,它有助于使按钮处于活动状态.

Try to disable some COM add-in and then enable it again. In my case it helped to make buttons active.

这篇关于撰写时禁用Outlook加载项命令按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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