![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I search through google, found that propertychange can monitor them, but
couldn't get fired if addresses were deleted, that's not very good. I noticed that some post say use CustomPropertyChange can process deletion for e-mail addresses, i saw some posts but still have no ideas about how to use it, Can someone give a short brief on how to use CustomPropertyChange or give me some links? Thanks. -- Message posted via http://www.officekb.com |
Ads |
#2
|
|||
|
|||
![]()
You use CustomPropertyChange() exactly the same way you'd use
PropertyChange(), there's no difference. You get the name of the custom property that's being changed. However that won't help you since what you want to look at is not a custom property. -- 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 "ryotyankou via OfficeKB.com" u48591@uwe wrote in message news:9b35dce2a4733@uwe... I search through google, found that propertychange can monitor them, but couldn't get fired if addresses were deleted, that's not very good. I noticed that some post say use CustomPropertyChange can process deletion for addresses, i saw some posts but still have no ideas about how to use it, Can someone give a short brief on how to use CustomPropertyChange or give me some links? Thanks. -- Message posted via http://www.officekb.com |
#3
|
|||
|
|||
![]()
Hi, ken, I dispatched MailItem, PropertyChange can be fired. But
CustomPropertyChange is not fire. Should i make a form or modify the default message form, in a word, i don't know how to make CustomPropertyChange event get contact with To/CC/BCC field. Ken Slovak - [MVP - Outlook] wrote: You use CustomPropertyChange() exactly the same way you'd use PropertyChange(), there's no difference. You get the name of the custom property that's being changed. However that won't help you since what you want to look at is not a custom property. I search through google, found that propertychange can monitor them, but couldn't get fired if addresses were deleted, that's not very good. I [quoted text clipped - 6 lines] some links? Thanks. -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...ddins/200908/1 |
#4
|
|||
|
|||
![]()
Do you mean that the build-in properties can not be changed or repurpose or
something like that? Do you mean that CustomPropertyChange only use for controls on custom form? Then how could i detect deletion of e-mail addresses in to/cc/bcc fields? Ken Slovak - [MVP - Outlook] wrote: You use CustomPropertyChange() exactly the same way you'd use PropertyChange(), there's no difference. You get the name of the custom property that's being changed. However that won't help you since what you want to look at is not a custom property. I search through google, found that propertychange can monitor them, but couldn't get fired if addresses were deleted, that's not very good. I [quoted text clipped - 6 lines] some links? Thanks. -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...ddins/200908/1 |
#5
|
|||
|
|||
![]()
I mean exactly that a built-in field will not fire CustomPropertyChange()
since it's not a custom property. The name tells you exactly what it's for. Built-in properties fire PropertyChange(), custom ones fire CustomPropertyChange(). It's very logical. PropertyChange() should fire if To, Cc or Bcc are changed. -- 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 "ryotyankou via OfficeKB.com" u48591@uwe wrote in message news:9b402d4cac935@uwe... Do you mean that the build-in properties can not be changed or repurpose or something like that? Do you mean that CustomPropertyChange only use for controls on custom form? Then how could i detect deletion of e-mail addresses in to/cc/bcc fields? |
#6
|
|||
|
|||
![]()
PropertyChange could not be fired if e-mail addresses were deleted, how could
i detect the deletion then? All i wanted is to detect this. Ken Slovak - [MVP - Outlook] wrote: I mean exactly that a built-in field will not fire CustomPropertyChange() since it's not a custom property. The name tells you exactly what it's for. Built-in properties fire PropertyChange(), custom ones fire CustomPropertyChange(). It's very logical. PropertyChange() should fire if To, Cc or Bcc are changed. Do you mean that the build-in properties can not be changed or repurpose or something like that? Do you mean that CustomPropertyChange only use for controls on custom form? Then how could i detect deletion of e-mail addresses in to/cc/bcc fields? -- Message posted via http://www.officekb.com |
#7
|
|||
|
|||
![]()
To, Cc and Bcc will change and fire that event if the item is saved after
the recipients are removed. You can also check the count of the Recipients collection at intervals or in specific event handlers, and you can check the Items.Change() event, but that would also require a saved item. -- 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 "ryotyankou via OfficeKB.com" u48591@uwe wrote in message news:9b4c4898c11e6@uwe... PropertyChange could not be fired if e-mail addresses were deleted, how could i detect the deletion then? All i wanted is to detect this. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
HELP!!! "find now" is changing my view from "day/week/month" to"Active Appointments" | johng34 | Outlook - Calandaring | 1 | June 12th 09 04:31 AM |
Why would a message change from "read" back to "unread" in Outlook? | Alan | Outlook - General Queries | 5 | October 14th 08 08:28 AM |
change incoming email attachment default to "open" vs "save as" | conroy | Outlook - General Queries | 1 | December 12th 06 02:58 AM |
Include "Telecommuting" or "Teleworking" as a "Show time as" statu | Gordon Greene | Outlook - Calandaring | 0 | July 31st 06 04:37 PM |
"Choose Contact" versus "Check Name" Dialog Box | Jason | Outlook - Using Contacts | 5 | July 12th 06 08:33 PM |