Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   edit right pane of mail (http://www.outlookbanter.com/add-ins-outlook/93587-edit-right-pane-mail.html)

Ashish August 10th 09 03:28 PM

edit right pane of mail
 
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



mightyCoCo August 10th 09 04:16 PM

edit right pane of mail
 
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.

Ashish August 11th 09 12:36 PM

edit right pane of mail
 
Thanks explorer.selectionChanged is called when switch an item or folder. It
also call when we select multiple items. I want to show some info in preview
pane when a single item is selected not for multiple selected items . But in
explorer.selectionChanged function Explorer-Selection-Count always returns
0. So i am not able to access selected item. Please suggest how to access
selected item. Why it always gives 0 as Count. Outlook version is 2003.


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



Ashish August 11th 09 12:47 PM

edit right pane of mail
 
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.



mightyCoCo August 11th 09 01:17 PM

edit right pane of mail
 
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...

Ken Slovak - [MVP - Outlook] August 11th 09 02:47 PM

edit right pane of mail
 
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...


Ashish August 11th 09 04:09 PM

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




mightyCoCo August 11th 09 04:35 PM

edit right pane of mail
 
On Aug 11, 5:09*pm, "Ashish" wrote:
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 l...

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


Look at the MailItem.Attachments method to add attachements to the
MailItem.
You can generate the attachement on the fly and add it as a binary
stream or write it on disk and give the Attachemts.Add function the
path to this file on disk.
You'd need to use the MailItem.Save method if you are finished to not
loose your changes.

Ken Slovak - [MVP - Outlook] August 11th 09 05:00 PM

edit right pane of mail
 
The InfoBar is also not modifiable or exposed. What could be done possibly
is to use the model for previewers (like for previewing PDF attachments in
the reading pane) to display custom information. That would be Outlook 2007
only or later, and I'm not sure it's actually doable. I've never played with
that for that purpose, only for an actual previewer. But it's the only
possibility I can think of.

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


"Ashish" wrote in message
...
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.



Ashish August 12th 09 04:11 PM

edit right pane of mail
 
So if we need to show attachment icon in a mail which has no attachment then
we need add an extra attachment.

What about outlook objects? I think using outlook Objects we can make change
locally for a user not on exchange server. Is it possible to change mail
view using outlook object model? Is there any link how to use outlook
objects in outlook addin?
"Ashish" wrote in message
...
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...







All times are GMT +1. The time now is 12:25 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com