My plugin does have code to create the button, as well as
some menus and property pages. The button code is based on
the sample CMDEXT. If I intall the plugin only through the
registry it works. But if I try to use an ECF (which I
must do to get OnOpen & OnClose events) the code appears
to succeed but the button does not appear. The plugin is
loading because my new menus do appear but the toolbar
button does not. I think something about the ECF is
preventing the button from displaying.
>-----Original Message-----
>Regardless of what you have in an ECF file, your code must still explicitly
[quoted text clipped - 21 lines]
>> Client Version=4.0
>> Misc
Flags=NoOptimizeInterfaceMap;MoreContexts;InstallCommandsEa
>> rly;WarnIfNoDLL;OutlookCommands
>>
[quoted text clipped - 13 lines]
>> Events=AddPropSheetPages
>> Property Sheet
Dialogs=CustomFormOptions;Message;Store;Folder;ToolsOptions
>> [Folder]
>> Folder Class=IPF
>> Views=Explorer;Viewer
Events=AllCommands;InstallCommands;AddPropSheetPages;Instal
>> l;OnFolderChange;OnSelectionChange
>> Menu
Drops=File;Edit;View;Insert;Format;Tools;Compose;Help;Main;
>> Toolbar;Contact;Calendar;Note;Task;Journal;FileFolder
>>
>> [Item]
>> Message Class=IPM
>> Item States=Modal;NonModal;Read;Compose
Events=AllCommands;InstallCommands;OnItemChange;OnCommand;O
nCheckNames;OnCheckNamesComplete;OnRead;OnReadComplete;OnWr
ite;OnWriteComplete;OnSubmit;OnSubmitComplete;OnMenuDropDow
>> n;AddPropSheetPages;OnOpen;OnClose
>> Menu
Drops=File;Edit;View;Insert;Format;Tools;Compose;Help;Main;
>> Toolbar;Contact;Calendar;Note;Task;Journal;FileFolder
>
>.
Dmitry Streblechenko - 26 Sep 2003 20:19 GMT
Hmmm... I don't know - I never had any problems when I switched from
registry-only to ECF files...
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
> My plugin does have code to create the button, as well as
> some menus and property pages. The button code is based on
[quoted text clipped - 80 lines]
> >
> >.