pls help with custom button RRS feed

  • Question

  • i have a custom button.

    by this code i can able to display the button on home tab.
    <?xml version="1.0" encoding="utf-8" ?>
    <customUI xmlns="">
           <tab idMso ="TabMail" >
              <group id="group" label="group">
              <button id="Button" label="clickme"
        size="large"  onAction="OnClick" />

     when user clicks on mail to read this button should diaply on message tab
    as well.
    can anyone tell me how to achive this.

    Tuesday, June 21, 2011 4:22 PM


  • Try setting:

    RibbonType = "Microsoft.Outlook.Explorer, Microsoft.Outlook.Mail.Read"

    You can set this in the Properties pane for your Tab object, or set in in the Ribbon.Designer class.

    Eric Legault
    MVP (Outlook)
    Twitter: elegault
    Tuesday, June 21, 2011 9:23 PM