none
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="http://schemas.microsoft.com/office/2006/01/customui">
      <ribbon>
        <tabs>
           <tab idMso ="TabMail" >
              <group id="group" label="group">
              <button id="Button" label="clickme"
        size="large"  onAction="OnClick" />
            </group>
          </tab>
         
        </tabs>
      </ribbon>
    </customUI>

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

    Tuesday, June 21, 2011 4:22 PM

Answers

  • 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
    Moderator