Use the Explorer.Close() event to tell you when to save toolbar positions
for an Explorer toolbar.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"ryotyankou via OfficeKB.com" <u48591@uwe> wrote in message
news:97a1b7030395a@uwe...
>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.
>
> --
> Message posted via http://www.officekb.com
>