View Single Post
  #5  
Old July 4th 06, 02:56 AM posted to microsoft.public.outlook.program_forms
Fidget Brain
external usenet poster
 
Posts: 8
Default OL 2007 - Set custom form region as default

sorry i forgot to mention

manually right clicking the folder to achieve this is no good to me. this is
a .NET add-in that will be shipped out to users, so i am asuming that I can
do this programmatically.

"Fidget Brain" wrote in message
...
I created a custom form region with the following message class:
"IPM.Contact.TestAddIn1.ClientRegion". I then created a new Folder within
the default Contacts folder to store these custom items. Finally, I created
a NavigationFolder within the Contacts navigation module which points to my
new Folder.

when I click the navigation pane folder it is raising the default Contacts
form, rather than my custom form. this is expected. the problem is that I
can't find a way to set my custom message class for this folder in order
to correct this problem. The DefaultMessageClass property of my folder is
read-only. Also when I first create my folder, the help file specifies
that the additional optional parameter should specify an olDefaultFolder
type, so I can't set it there either.

any help appreciated as Ive been stuck on this now for a while



Ads