Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   What's the appointment ribbon called? (http://www.outlookbanter.com/add-ins-outlook/99649-whats-appointment-ribbon-called.html)

sgrosch1 January 30th 10 08:47 PM

What's the appointment ribbon called?
 

I've created an Outlook 2010 add-in that includes an Outlook Form
Region. I only want my region usable if the BusyStatus is set to Out of
Office, so my thought was to get a pointer to the ribbon and then add
some type of OnChange to the "Show As" drop-down that enabled/disabled
my form.

I see the Globals.Ribbons element, but can't figure out how to get at
the AppointmentItem's ribbon from inside of the FormRegionShowing()
event.


--
sgrosch1
http://forums.slipstick.com


Ken Slovak - [MVP - Outlook] February 2nd 10 02:06 PM

What's the appointment ribbon called?
 
Normally what you'd do is to call Ribbon.InvalidateControl(controlID) to
force specific callbacks for various types of controls, or
Ribbon.Invalidate() to force that for all your user created ribbon controls.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"sgrosch1" sgrosch1.45mdla@invalid wrote in message
news:sgrosch1.45mdla@invalid...

I've created an Outlook 2010 add-in that includes an Outlook Form
Region. I only want my region usable if the BusyStatus is set to Out of
Office, so my thought was to get a pointer to the ribbon and then add
some type of OnChange to the "Show As" drop-down that enabled/disabled
my form.

I see the Globals.Ribbons element, but can't figure out how to get at
the AppointmentItem's ribbon from inside of the FormRegionShowing()
event.


--
sgrosch1
http://forums.slipstick.com




All times are GMT +1. The time now is 12:31 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com