我尝试在“回复内联”模式下添加自定义控件。我在“Compose tools”TabMessage控件中添加控件没有问题。
我尝试将标签的IdMso设置为
TabMessage
TabNewMailMessage (this one work when i write a new email in a new popup)
TabComposeTools
它不起作用。有什么建议吗?
答案 0 :(得分:1)
要向新的Inspector组合窗口添加自定义控件,以下ribbon.xml将起作用。请注意新的Inspector的xml ...
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon>
<tabs>
<tab idMso="TabNewMailMessage">
<group id ="myGroupForInspector" insertBeforeMso="GroupClipboard" getVisible="GetVisible" getLabel="GetLabel">
... controls are go here
</group>
</tab>
</tabs>
</ribbon>
</customUI>
要向Explorer内联撰写窗口添加自定义控件,以下ribbon.xml将起作用。请注意,此xml适用于资源管理器窗口...
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<ribbon>
<contextualTabs>
<tabSet idMso="TabComposeTools">
<tab idMso="TabMessage">
<group id ="myGroupForExplorer" insertBeforeMso="GroupClipboard" getVisible="GetVisible" getLabel="GetLabel">
... controls are go here
</group>
</tab>
</tabSet>
</contextualTabs>
</ribbon>
</customUI>