Creating a custom appointment when user drag/drops task

  • Thread starter Thread starter Colin
  • Start date Start date
C

Colin

Hi,

I'm trying to create the appointment using my own custom appointment form
when the user drags a task onto their calendar. If I trap the BeforeItemPaste
event, Cancel it and create my own appointment, the task gets removed from
the list when I want it to stay. Is there a way I can do this?

Thanks,
Colin.
 
Then how do I create an appointment with my own template and not the default
appointment message class? If I don't cancel the event, Outlook opens up a
default appointment form.
 
When the appointment item opens just change its MessageClass to the message
class of your custom form, which must be published. You can trap the
NewInspector event of the Inspectors collection for that or if using Outlook
2007 you can use the ItemLoad event or other events.
 
Back
Top