P
Paul-Jan Pauptit
I am trying to adapt the Outlook 2003 Folder Context Menu within the command
bars update event. Basically, what I do is:
- find "Folder Context Menu" command bar
- remove msoBarNoCustomize from the protection property
- add temporary menu items / etc
- turn msoBarNoCustomize back on
This works fine when I'm adding custom menu items, however when I try to
change the caption on, or visibility of, BuiltIn items (in particular, I'm
trying to replace the "Add to Favorite Folders" menu item with one of my
own), things don't seem to work in predictable ways, or not at all.
Before I'm off to do some subclassing and/or other Win32 hackery to modify
the menu anyway, I'd like to know if this is known behaviour, or that perhaps
I'm doing something trivial wrong in my approach.
bars update event. Basically, what I do is:
- find "Folder Context Menu" command bar
- remove msoBarNoCustomize from the protection property
- add temporary menu items / etc
- turn msoBarNoCustomize back on
This works fine when I'm adding custom menu items, however when I try to
change the caption on, or visibility of, BuiltIn items (in particular, I'm
trying to replace the "Add to Favorite Folders" menu item with one of my
own), things don't seem to work in predictable ways, or not at all.
Before I'm off to do some subclassing and/or other Win32 hackery to modify
the menu anyway, I'd like to know if this is known behaviour, or that perhaps
I'm doing something trivial wrong in my approach.