开发者

Ribbon group doesn't display in Outlook 2010

I created an add-in for Outlook 2007/2010. There are 2 ribbons one for the compose window and the other is for the read window. There are 2 groups on each ribbon. In outlook 2007 they both display as expected but in 2010开发者_Go百科 the first one is always missing.

why is this? How can I prevent this from happeneing?


Check your idMso properties for each tab in the Ribbon XML. The correct idMso for the existing Compose ribbon tab in the Inspector is TabNewMailMessage.

If that doesn't work, check the RibbonType property on the Ribbon itself to make sure it is enabled on the two Inspectors you are targeting.


The answer was to NOT put any controls in the menu controls or list type of controls in the designer, but do it via code. Pain to do it that way but the XML generated by the designer is flawed and has a problem running in outlook 2010. I changed it to all run via code and everything is working.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜