View Single Post
  #2  
Old October 12th 07, 02:23 AM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default OpenEntry Requests.

I don't see why this is a problem. If Outlook wants it, let Outlook have it.
Supposedly you already have data that you show in the folder contents table,
so you have some of it cached. Plus why not defer doing anything time
consuming until Outlook actually asks for the data via
IMessage::GetProps/OpenProperty/GetRecipientTable/GetAttachmentTable?

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

"T-rev" wrote in message
...
I have some strange behaviour across 2 very different releases of our
messageStore addin.
If the preview pane is turned off and you entry a folder, you get an
onSelectionChange for item clicked on in extensions and a request for the
EntryId from the Folder properties.

In a previous version of the software this is the same with the exception
that when you click off Outlook and highlight another window, it now
requests an openEntry on the IMessage itself, and we endup having to build
it all. I do not see any reason for this, as it does not need to know the
properties at this stage, and didn't for all of the UI operations while
still in Outlook (unless the message is opened)

Any Ideas???





Ads