Adding property page to Outlook Tools/Options

S

Sunny

Hi all,
My dev platform: VS .net 2003, win2000pro, office 2000, MOD 2000, C#.
I'm trying to add custom property/option tab in outlook 2000 Options. So far
I succeeded to create the control which implements Outlook.PropertyPage
interface. It displays OK with 2 exceptions:
1. The title which is shown on the tab is Unnamed
2. I could not reference the parent PropertyPageSite property to invoke
OnStatusChange() method, so I can not use Apply button.

I have read some articles in that direction, but all of them are not real
solution, and they are more than year old, so I'm wondering if so far
someone have succeeded in this approach?

Any suggestion/solution will be highly appreciated.

Thanks
Sunny
 
S

Sunny

The first problem is solved. I have found an article which gave me the right
direction:
You have to make public property Caption in your control and to set for it
DispID = -518.
The code I use, is:

[DispId(-518)]
public string Caption
{
get
{
return this.Name;
}
}

This solves the problem with the name of the tab. Now I still look for
solution for the second one.
Thanks in advance
Sunny
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top