![]() |
Modify the message form for reading in OL2007
Basically I want to modify the mail mesage to display an additional label
below the subject, when opened for reading. Adjoining form region type would be added below, which is not desirable. And using separate form region type will reduce usabilty.I want to position the label inside the form. From technical artical on MSDN, I got "You can register the form region as a replacement form region: If you specify a value of Replace for the formRegionType tag in the form region manifest XML file, the form region will replace the default page of the form. If you specify a value of ReplaceAll for the formRegionType tag, the form region will replace the entire form, resulting in a new form for a derived message class." According to this, I will have to replace the default page with my custom page. But when I try using this Replace value inside the formregiontype it says "could not render the formregion" and adds a Report redering problems tab to the mail message read window. Has anyone used Replace with formregiontype? I dont find any sample application demonstrating this either. Thanks in advance for any kind of help. |
Modify the message form for reading in OL2007
Replace can be used only on custom message classes, e.g. IPM.Note.MyMessageClass, so you'd need to add another piece to your project -- code to change the value of the MessageClass property for these messages.
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Lee" wrote in message ... Basically I want to modify the mail mesage to display an additional label below the subject, when opened for reading. Adjoining form region type would be added below, which is not desirable. And using separate form region type will reduce usabilty.I want to position the label inside the form. From technical artical on MSDN, I got "You can register the form region as a replacement form region: If you specify a value of Replace for the formRegionType tag in the form region manifest XML file, the form region will replace the default page of the form. If you specify a value of ReplaceAll for the formRegionType tag, the form region will replace the entire form, resulting in a new form for a derived message class." According to this, I will have to replace the default page with my custom page. But when I try using this Replace value inside the formregiontype it says "could not render the formregion" and adds a Report redering problems tab to the mail message read window. Has anyone used Replace with formregiontype? I dont find any sample application demonstrating this either. Thanks in advance for any kind of help. |
Modify the message form for reading in OL2007
Can you post your XML file?
John "Lee" wrote: Basically I want to modify the mail mesage to display an additional label below the subject, when opened for reading. Adjoining form region type would be added below, which is not desirable. And using separate form region type will reduce usabilty.I want to position the label inside the form. From technical artical on MSDN, I got "You can register the form region as a replacement form region: If you specify a value of Replace for the formRegionType tag in the form region manifest XML file, the form region will replace the default page of the form. If you specify a value of ReplaceAll for the formRegionType tag, the form region will replace the entire form, resulting in a new form for a derived message class." According to this, I will have to replace the default page with my custom page. But when I try using this Replace value inside the formregiontype it says "could not render the formregion" and adds a Report redering problems tab to the mail message read window. Has anyone used Replace with formregiontype? I dont find any sample application demonstrating this either. Thanks in advance for any kind of help. |
All times are GMT +1. The time now is 11:26 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-2006 OutlookBanter.com