You can certainly create a custom view either using View.XML or the new View
stuff in Outlook 2007 or you can be hard-core and create the hidden message
for a view and set it up that way. There are some view coding samples using
the Outlook object model at
www.outlookcode.com.
Mostly what I do is set up a custom view in the UI and then deconstruct it
to get basic XML for that view, then I modify that as needed. Some
limitations apply using custom views since the XML doesn't handle any
autoformatting. That's exposed in Outlook 2007, prior to that the setting of
any autoformatting is not documented.
A custom preview pane isn't supported (except for form regions for Outlook
2007) so that's undocumented and a complete hack. What you'd need to do is
to create your custom preview window as a Windows dialog and find and
overlay the existing preview pane using Win32 API calls. Messy and
undocumented as I said, but it has been done. One of the earliest examples
of that was the old Chilton preview pane for Outlook 97.
--
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
"Tom at GSD" wrote in message
news

Hello,
I have developed a custom MAPI provider which incorporates a custom
message
class. I am trying to create a custom view for the message class and I am
wondering if there are any examples out there or any documentation that I
can
refer to. In addition I am curious if we can also have a custom preview
window to display the message. Any thoughts or suggestions would be
greatly
appreciated.
Thanks,
Tom -