![]() |
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
|
|||
|
|||
![]()
(reposted from microsoft.public.win32.programmer.messaging)
Is there any way to catch the event for the user action of right-clicking on an unselected explorer item, and clicking "reply"? I have an add-in working in OL2003 / W2KPro whe * Reply event _is_ triggered from an open inspector. * Reply event _is_ triggered after user has selected an item in the explorer But: Reply event is _not_ triggered if the user right-clicks on an (unselected) item in the explorer and selects Reply. Is there any way to trigger this event? As the item isn't yet in an inspector, nor is it selected, it doesn't seem as if we have an item that we specify events for. Any ideas? James |
Ads |
#2
|
|||
|
|||
![]()
Did you try to use the Application.Inspectors.NewInspector event?
Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "james" wrote in message oups.com... (reposted from microsoft.public.win32.programmer.messaging) Is there any way to catch the event for the user action of right-clicking on an unselected explorer item, and clicking "reply"? I have an add-in working in OL2003 / W2KPro whe * Reply event _is_ triggered from an open inspector. * Reply event _is_ triggered after user has selected an item in the explorer But: Reply event is _not_ triggered if the user right-clicks on an (unselected) item in the explorer and selects Reply. Is there any way to trigger this event? As the item isn't yet in an inspector, nor is it selected, it doesn't seem as if we have an item that we specify events for. Any ideas? James |
#3
|
|||
|
|||
![]()
Yes, that works, I do get the item with this event, but I want to catch
the original item and manipulate it before it gets to the Inspector. The tasks is: Clean the subject line before it is presented in the Inspector window (ie remove instances of specific strings) james |
#4
|
|||
|
|||
![]()
You can look at the ConversationIndex property. If the length is 44 chars,
it is an original message. Otherwise remove 10 trailings chars and look for a message with that value of ConversationIndex. Not very efficient, but this is the best you can do IMHO. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "james" wrote in message ups.com... Yes, that works, I do get the item with this event, but I want to catch the original item and manipulate it before it gets to the Inspector. The tasks is: Clean the subject line before it is presented in the Inspector window (ie remove instances of specific strings) james |
#5
|
|||
|
|||
![]()
Dmitriy, thanks for tip.
What about setting the reply event on *each* message in the open explorer. I could see this would work well for mailboxes with small numbers of messages, but would be quite painful when the number of messages was in the 100's. Also inefficient, but doesn't seem as if we have a direct method. |
#6
|
|||
|
|||
![]()
That wouldn't be a good idea - besides being inefficient, you can also run
out of 255 RPC channels/process limit in case of Exchange as each referenced item would open its own RPC channel. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "james" wrote in message oups.com... Dmitriy, thanks for tip. What about setting the reply event on *each* message in the open explorer. I could see this would work well for mailboxes with small numbers of messages, but would be quite painful when the number of messages was in the 100's. Also inefficient, but doesn't seem as if we have a direct method. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I get OFFICE 97 to OPEN Internet explorer | Lost | Outlook - Installation | 1 | February 12th 06 06:22 AM |
Handling Task Item Delete Event | AtulSureka | Outlook - Using Forms | 0 | January 24th 06 10:25 AM |
form and event click | ivanoe | Outlook - Using Forms | 1 | January 17th 06 08:40 PM |
Outlook Addin CommandBarButton Click Event Not Firing | Stu | Add-ins for Outlook | 0 | January 17th 06 02:10 AM |
Denied Outlook "Send" access via Explorer when DSL Yahoo service | Ken Steen-Olsen steen-olsen@sbcglobal | Outlook - Installation | 0 | January 11th 06 11:17 PM |