Save CommandBar position problem?

  • Thread starter ryotyankou via OfficeKB.com
  • Start date
R

ryotyankou via OfficeKB.com

I write my code by reference this link.
http://msdn.microsoft.com/en-us/library/ms268891.aspx
But there is a problem while i get the CommandBar position value.(Get value
before Save to registry).
My process is load registry value in OnConnection event, and Save to registry
in OnBeginShutdown event. In OnBeginShutdown event i got my error:
spCmdBar->GetPosition(); spCmdBar is CommandBar created. return error code is
0x800a01a8, it is strange GetPosition failed. In inspector wrapper which
process new inspector, the toolbar create there is ok while inspector is
closed. Any idea? TIA.
 
K

Ken Slovak - [MVP - Outlook]

Use the Explorer.Close() event to tell you when to save toolbar positions
for an Explorer toolbar.
 

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