Create a command bar in a new Explorer window

  • Thread starter Thread starter Slava Barouline
  • Start date Start date
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
 
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.
 
Back
Top