View Single Post
  #7  
Old August 11th 09, 04:09 PM posted to microsoft.public.outlook.program_addins
Ashish
external usenet poster
 
Posts: 94
Default edit right pane of mail

Thanks Ken, Thanks Mighty
I got it now. To show something in reading pane we need to make change in
mail. Without making change in mail we cant show anything extra in reading
pane as reading pane is not editable.

Well if a mail has attachment it shows an icon for it with subject in
outlook explorer. If any mail has no attachment then can we show
same/anyother icon at same place(after subject) using some programming. Is
it possible?
I did not see any property for this icon in outspy/MFCMAPI.
"Ken Slovak - [MVP - Outlook]" wrote in message
...
Custom forms won't display in the reading pane for the most part, and the
reading pane is not editable or modifiable. You'd have to create your own
window and overlay that over the reading pane using Win32 API calls, which
is not only tricky but has the potential to crash Outlook and even Windows
if you don't know what you're doing.

--
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


"mightyCoCo" wrote in message
...
On Aug 11, 1:47 pm, "Ashish" wrote:
Sorry i get correct selected item
To make change in preview window should i add info to mail or we can
directly change preview window? Is it editable

"mightyCoCo" wrote in message

...
On Aug 10, 4:28 pm, "Ashish" wrote:

Is it possible to edit mail right pane in outlook addin? When select a
mail
in outlook right pane shows its field like subject,date
body,attachments
etc.
Can we show some extra information in right pane when select a mail.
Which
event is call when show right pane(select mail) for any mail


if i got it right, you refer to the preview pane of an email.
What Outlook version?
Look into the Explorer.SelectionChanged event. this is triggered, when
an item was selected.
You may be able to modify certain information's in the selected item.


You could change the body of the eMail. But this change would be
persistent.
I don't know of a clean way to show a temporarily modified body.
You would need to save the original mail somewhere else and restore
it, when the selection changes.

If you need to have more fields net to subject/date etc, that might be
possible with custom forms. But I've never done this. Maybe someone
else has some insights / tips...



Ads