View Single Post
  #4  
Old May 25th 06, 04:05 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default adding coomand bar buttons to inspector window

There is no difference, an Inspector is an Inspector.

If you mean how to tell a new email from an opened existing email check for
EntryID. It is null string until an item has been saved. To tell if a newly
opened item with null EntryID is a new email or reply or forward you have to
look at the subject and look for or FWD: or whatever in the localization
language. You can also check on ConversationIndex and check it's length. It
gets longer (as I recall by 20 bytes a clip) for each new item in a thread.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Ram" wrote in message
...
Hi,

How it should be differentiate the new mail inspetor window and the
inspepctor window,which is opened by doubleclicking mail in any folder.

--
Regards,

RamakoteswaraRao Koti
Software Engineer,
Nannacomputers Pvt Ltd


Ads