Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Prevent moving a calendar item (http://www.outlookbanter.com/add-ins-outlook/102470-prevent-moving-calendar-item.html)

Casper May 10th 10 08:33 AM

Prevent moving a calendar item
 
Hi,
Asked this at Outlookcode.com as well but got no answer, now I try here.

I've got an addin (form region) which (among other things) have
userproperties with dates which are the outer boundaries for the appointment.
I can handle in the addin that the user should not set start and end dates
beyond these boundaries but the user can still drag the appointment to
another date without my addin code checking. I've tried to use the
MAPIFolderEvents_12_BeforeItemMoveEventHandler delegate since it can be
cancelled but it only fires when moving the item to another folder. The
ItemsEvents_ItemChangeEventHandler on the items collection does not allow the
action to be cancelled.
Any ideas?

Thanks,



All times are GMT +1. The time now is 12:33 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