![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
I would like to create a custom Inspector to read Outlook messasges in,
ideally inherting the existing Insector class and allowing me to add additional controls, like text boxes and buttons to the Inspector form. Is this possible and if so how do I do it? Thanks. GP |
#2
|
|||
|
|||
![]()
I don't believe that's possible.
Normally one would intercept the NewInspector event of the Inspectors collection and proxy any information from the Inspector.CurrentItem into a separate form that has whatever controls you want shown, in addition to any controls normally on the Inspector window. Then you close the Inspector and show your form as a proxy for the Inspector. -- 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 "GP" wrote in message ... I would like to create a custom Inspector to read Outlook messasges in, ideally inherting the existing Insector class and allowing me to add additional controls, like text boxes and buttons to the Inspector form. Is this possible and if so how do I do it? Thanks. GP |
#3
|
|||
|
|||
![]()
I have already done that to some extent, by creating a form and filling text
boxes with info from the messages. But I want to take it a step futher and make use of the Inspector Class's inherent ability to display Rich Text and HTML formatted message content. I though a good way would be to try and inherit the Inspector Class and add the other bits I need to it. If that is not possible, can you think of another way I can display either either Rich Text or HTML formatted content on a Windows form? Thanks GP |
#4
|
|||
|
|||
![]()
Ken, I solved the problem by adding a WebBrowser control to my form and
setting the DocumentText property to equal the HTMLBody property of my message. Works like a dream for HTML messages. I could use RichTextBox control for Rich Text if necessary. Thanks for your help GP |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Where is message class located? | Orionssong | Outlook - General Queries | 1 | December 4th 07 12:56 PM |
Window class names | BobS | Outlook - Using Forms | 0 | November 5th 07 07:09 PM |
Changing folder class Id | bbnimda | Outlook and VBA | 2 | October 30th 07 01:47 PM |
Class Terminates without notice | George Hester | Outlook and VBA | 6 | February 4th 07 09:03 AM |
Message class | Josianne | Outlook - Using Forms | 0 | April 10th 06 04:06 PM |