Create a command bar in a new Explorer window

S

Slava Barouline

Is it possible to create a command bar in a new Explorer window?

If I try to display it on event OnNewExplorer, Outlook raises strange errors

It looks like even Explorer interface is not null, it's not initialized
properly

If I try to check Explorer.CommandBars I get invalid operation error

Thanks
 
K

Ken Slovak - [MVP - Outlook]

Set a boolean flag in NewExplorer and when Explorer.Activate fires check
that flag and if true create your command bars. Then set the flag to false
so you don't do it on every Activate event.
 

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