How to add a button in Calendar view?

J

juzion

How do I add and program a button in Calendar view to achieve the following:

When user creates a New Appointment Item, enable a Button to appear in the
AppointmentItem view.

User clicks on Button, the To: (or Attendee list) appears and a LDAP email
address (i.e [email protected]) or LDAP username is resolved and displayed.

Please advise.

Thanks in advance.
 
K

Ken Slovak - [MVP - Outlook]

Trap the NewInspector event of the Inspectors collection and check the type
of the item being opened in the Inspector. If it's an appointment item
create and add your button. Then handle the button's Click event to do
whatever you want.

See www.outlookcode.com for examples of creating new buttons.
 
J

juzion

Hi Ken,
Thanks for the reply. I'm pretty new to Outlook development and not very
familiar with the objects, properties and methods. Could you show/direct me
for some sample code on how to do the trapping, check the item and activate
the attendees list as required?

Thanks again!
 
Top