Which event should i advise?

  • Thread starter ryotyankou via OfficeKB.com
  • Start date
R

ryotyankou via OfficeKB.com

When open outlook, the message will list there. Its content will be display
on reading pane. What i want to do is to catch the user click event on
message. Just click on the it, not open it. I found there is a _Explorer::
SelectionChange event, but it have no parameter. I want to know which message
user clicked on, to do different action in the event, such as, normal message,
signed message, encrypted message and so on, what should i do?
 
D

Dmitry Streblechenko

Whenever SelectionChange event fires, simply loop through the
Explorer.Selection collection to figure out which messages were selected.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 
R

ryotyankou via OfficeKB.com

It works, thank you, Dmitry.

Dmitry said:
Whenever SelectionChange event fires, simply loop through the
Explorer.Selection collection to figure out which messages were selected.
When open outlook, the message will list there. Its content will be
display
[quoted text clipped - 5 lines]
message,
signed message, encrypted message and so on, what should i do?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top