GetFormRegionIcon isn't called since I have changed the formRegionType to adjoiningHi,<br><br>I have written a FormRegion addin for Outlook (VSTO 2005 SE). It had been working as I expected, but then I change the formRegionType from &quot;replace&quot; to &quot;adjoining&quot; in the manifest. Now GetFormRegionIcon isn't called any more and Outlook doesn't show the my custom icon. What's going wrong? Is this a bug? I only have to change formRegionType...<br><br>Thanks, Raul<br><br>© 2009 Microsoft Corporation. All rights reserved.Thu, 22 Oct 2009 11:58:54 Zf4139a4c-4f06-4334-98b1-657206864f6chttp://social.msdn.microsoft.com/Forums/en-US/vsto/thread/f4139a4c-4f06-4334-98b1-657206864f6c#f4139a4c-4f06-4334-98b1-657206864f6chttp://social.msdn.microsoft.com/Forums/en-US/vsto/thread/f4139a4c-4f06-4334-98b1-657206864f6c#f4139a4c-4f06-4334-98b1-657206864f6cRaul Rosenloecherhttp://social.msdn.microsoft.com/Profile/en-US/?user=Raul%20RosenloecherGetFormRegionIcon isn't called since I have changed the formRegionType to adjoiningHi,<br><br>I have written a FormRegion addin for Outlook (VSTO 2005 SE). It had been working as I expected, but then I change the formRegionType from &quot;replace&quot; to &quot;adjoining&quot; in the manifest. Now GetFormRegionIcon isn't called any more and Outlook doesn't show the my custom icon. What's going wrong? Is this a bug? I only have to change formRegionType...<br><br>Thanks, Raul<br><br>Tue, 25 Sep 2007 15:19:38 Z2007-09-28T12:31:56Zhttp://social.msdn.microsoft.com/Forums/en-US/vsto/thread/f4139a4c-4f06-4334-98b1-657206864f6c#16810234-0f11-4b95-8693-7db24c0377a8http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/f4139a4c-4f06-4334-98b1-657206864f6c#16810234-0f11-4b95-8693-7db24c0377a8Sue Mosher - Outlook MVPhttp://social.msdn.microsoft.com/Profile/en-US/?user=Sue%20Mosher%20-%20Outlook%20MVPGetFormRegionIcon isn't called since I have changed the formRegionType to adjoining<p align=left><font face=Arial size=2>Adjoining regions appear on the surface of an existing form page and, therefore, don't use icons. Icons apply only to replace and replaceAll regions. </font></p>Tue, 25 Sep 2007 15:31:35 Z2007-09-27T03:15:35Zhttp://social.msdn.microsoft.com/Forums/en-US/vsto/thread/f4139a4c-4f06-4334-98b1-657206864f6c#55b231b3-9c40-4f75-a18d-2c8e64e3ec5chttp://social.msdn.microsoft.com/Forums/en-US/vsto/thread/f4139a4c-4f06-4334-98b1-657206864f6c#55b231b3-9c40-4f75-a18d-2c8e64e3ec5cRaul Rosenloecherhttp://social.msdn.microsoft.com/Profile/en-US/?user=Raul%20RosenloecherGetFormRegionIcon isn't called since I have changed the formRegionType to adjoiningThank, Sue.<br><br>But actually, there is a solution and it's working. I have to register 2 FormRegions. One is only for the icon and one is for the form - declared as adjoining and without any entry for the icon in the manifest:<br>...<br>  &lt;exactMessageClass&gt;true&lt;/exactMessageClass&gt;<br>  &lt;formRegionType&gt;adjoining&lt;/formRegionType&gt;<br>  &lt;showInspectorCompose&gt;false&lt;/showInspectorCompose&gt;<br>  &lt;showInspectorRead&gt;true&lt;/showInspectorRead&gt;<br>  &lt;showReadingPane&gt;false&lt;/showReadingPane&gt;<br><br>...<br><br>2. For showing the icon: a &quot;form region&quot; without a form but with a manifest for the icons and as replaceAll<br>  &lt;exactMessageClass&gt;true&lt;/exactMessageClass&gt;  <br>  &lt;formRegionType&gt;replaceAll&lt;/formRegionType&gt;  <br>  &lt;showInspectorRead&gt;false&lt;/showInspectorRead&gt;<br>  &lt;showReadingPane&gt;false&lt;/showReadingPane&gt;<br>  &lt;showInspectorCompose&gt;false&lt;/showInspectorCompose&gt;  <br>  &lt;icons&gt;<br>    &lt;default&gt;addin&lt;/default&gt;<br>    &lt;read&gt;addin&lt;/read&gt;<br>    &lt;unread&gt;addin&lt;/unread&gt;<br>    &lt;replied&gt;addin&lt;/replied&gt;<br>    &lt;forwarded&gt;addin&lt;/forwarded&gt;<br>    &lt;unsent&gt;addin&lt;/unsent&gt;<br>    &lt;submitted&gt;addin&lt;/submitted&gt;<br>    &lt;signed&gt;addin&lt;/signed&gt;<br>    &lt;encrypted&gt;addin&lt;/encrypted&gt;<br>    &lt;window&gt;addin&lt;/window&gt;<br>    &lt;recurring&gt;addin&lt;/recurring&gt;<br>    &lt;page&gt;addin&lt;/page&gt;<br>  &lt;/icons&gt;<br><br>Regards Raul<br>Thu, 27 Sep 2007 14:20:22 Z2007-09-28T12:31:56Zhttp://social.msdn.microsoft.com/Forums/en-US/vsto/thread/f4139a4c-4f06-4334-98b1-657206864f6c#55782cc8-c631-4faf-aad3-1bb5df9d2465http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/f4139a4c-4f06-4334-98b1-657206864f6c#55782cc8-c631-4faf-aad3-1bb5df9d2465Sue Mosher - Outlook MVPhttp://social.msdn.microsoft.com/Profile/en-US/?user=Sue%20Mosher%20-%20Outlook%20MVPGetFormRegionIcon isn't called since I have changed the formRegionType to adjoining<p align=left><font face=Arial size=2>Brilliant! A typical, sneaky Outlook solution. Looking at your manifest, I presume that there is a specific IPM.Note.Something MessageClass involved? </font></p>Thu, 27 Sep 2007 14:33:42 Z2007-09-27T14:33:42Zhttp://social.msdn.microsoft.com/Forums/en-US/vsto/thread/f4139a4c-4f06-4334-98b1-657206864f6c#e64b66b5-1d89-4df8-a1b3-840055acb49fhttp://social.msdn.microsoft.com/Forums/en-US/vsto/thread/f4139a4c-4f06-4334-98b1-657206864f6c#e64b66b5-1d89-4df8-a1b3-840055acb49fRaul Rosenloecherhttp://social.msdn.microsoft.com/Profile/en-US/?user=Raul%20RosenloecherGetFormRegionIcon isn't called since I have changed the formRegionType to adjoiningYes, of course. Both form regions are registered (registry) for the same message class.<br>Thu, 27 Sep 2007 14:36:34 Z2007-09-27T14:36:34Zhttp://social.msdn.microsoft.com/Forums/en-US/vsto/thread/f4139a4c-4f06-4334-98b1-657206864f6c#b8203e1c-19bc-45ce-9dd0-bf1e5713d42fhttp://social.msdn.microsoft.com/Forums/en-US/vsto/thread/f4139a4c-4f06-4334-98b1-657206864f6c#b8203e1c-19bc-45ce-9dd0-bf1e5713d42fKumar99http://social.msdn.microsoft.com/Profile/en-US/?user=Kumar99GetFormRegionIcon isn't called since I have changed the formRegionType to adjoiningHi Raul,<br/><br/>the similar functionality we require but till the time we were creating the seperate factory for icons and there we are passing the form region which we have to customize. can you give some more details about how to use the above manifest in code of form region. if you could share some sample code will be very helpful.<br/><br/>Kumar99Thu, 22 Oct 2009 11:58:54 Z2009-10-22T12:02:15Z