A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

edit right pane of mail



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 10th 09, 03:28 PM posted to microsoft.public.outlook.program_addins
Ashish
external usenet poster
 
Posts: 94
Default 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


Ads
  #2  
Old August 10th 09, 04:16 PM posted to microsoft.public.outlook.program_addins
mightyCoCo
external usenet poster
 
Posts: 6
Default 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.
  #3  
Old August 11th 09, 12:36 PM posted to microsoft.public.outlook.program_addins
Ashish
external usenet poster
 
Posts: 94
Default 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.


  #4  
Old August 11th 09, 12:47 PM posted to microsoft.public.outlook.program_addins
Ashish
external usenet poster
 
Posts: 94
Default 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.


  #5  
Old August 11th 09, 01:17 PM posted to microsoft.public.outlook.program_addins
mightyCoCo
external usenet poster
 
Posts: 6
Default 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...
  #6  
Old August 11th 09, 02:47 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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...

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



  #8  
Old August 11th 09, 04:35 PM posted to microsoft.public.outlook.program_addins
mightyCoCo
external usenet poster
 
Posts: 6
Default 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.
  #9  
Old August 11th 09, 05:00 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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.


  #10  
Old August 12th 09, 04:11 PM posted to microsoft.public.outlook.program_addins
Ashish
external usenet poster
 
Posts: 94
Default 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...





 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I e-mail a calendar to someone that i can edit Tracy Outlook - Calandaring 2 March 20th 08 06:36 AM
How do I edit an e-mail address in a field? Outlook2007 Jonathan Outlook - Using Contacts 7 January 15th 07 09:27 AM
Can i edit layout of the "Navigation Pane" [email protected] Outlook - General Queries 2 June 20th 06 10:44 PM
Can i edit layout of the "Navigation Pane" [email protected] Outlook - General Queries 0 June 20th 06 08:23 PM
Using VBA to edit mail body without losing embedded pictures? [email protected] Outlook and VBA 2 March 20th 06 07:38 PM


All times are GMT +1. The time now is 08:21 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.