A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

(Outlook2003)Monitor change for "to" "cc" "bcc" on message compose dialog?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 27th 09, 07:57 AM posted to microsoft.public.outlook.program_addins
ryotyankou via OfficeKB.com
external usenet poster
 
Posts: 101
Default (Outlook2003)Monitor change for "to" "cc" "bcc" on message compose dialog?

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  
Old August 27th 09, 02:12 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default (Outlook2003)Monitor change for "to" "cc" "bcc" on message compose dialog?

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" [email protected] wrote in message
news:[email protected]
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


  #3  
Old August 28th 09, 03:25 AM posted to microsoft.public.outlook.program_addins
ryotyankou via OfficeKB.com
external usenet poster
 
Posts: 101
Default (Outlook2003)Monitor change for "to" "cc" "bcc" on message compose dialog?

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  
Old August 28th 09, 03:38 AM posted to microsoft.public.outlook.program_addins
ryotyankou via OfficeKB.com
external usenet poster
 
Posts: 101
Default (Outlook2003)Monitor change for "to" "cc" "bcc" on message compose dialog?

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  
Old August 28th 09, 02:31 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default (Outlook2003)Monitor change for "to" "cc" "bcc" on message compose dialog?

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" [email protected] wrote in message
news:[email protected]
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  
Old August 29th 09, 02:45 AM posted to microsoft.public.outlook.program_addins
ryotyankou via OfficeKB.com
external usenet poster
 
Posts: 101
Default (Outlook2003)Monitor change for "to" "cc" "bcc" on message compose dialog?

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  
Old August 31st 09, 02:57 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default (Outlook2003)Monitor change for "to" "cc" "bcc" on message compose dialog?

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" [email protected] wrote in message
news:[email protected]
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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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 03:31 AM
Why would a message change from "read" back to "unread" in Outlook? Alan Outlook - General Queries 5 October 14th 08 07:28 AM
change incoming email attachment default to "open" vs "save as" conroy Outlook - General Queries 1 December 12th 06 01:58 AM
Include "Telecommuting" or "Teleworking" as a "Show time as" statu Gordon Greene Outlook - Calandaring 0 July 31st 06 03:37 PM
"Choose Contact" versus "Check Name" Dialog Box Jason Outlook - Using Contacts 5 July 12th 06 07:33 PM


All times are GMT +1. The time now is 02:17 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright 2004-2022 Outlook Banter.
The comments are property of their posters.