View Single Post
 
Old 03-04-2006, 09:50 PM
Hydrogen Hydrogen is offline
Novice
 
Join Date: Mar 2006
Posts: 2
Hydrogen
Default MailItem Inspectors cache CommandBars but Calendar do not?

Hi Everyone,

Using: VS 2005 Tools for Office

It seems that when we create Temporary CommandBars and related buttons to MailItem Inspectors, on subsequent NewInspector events (and thus Inspector windows containing MailItems), the Temporary CommandBars remain and we don't have to recreate them.

Oddly, this is NOT the case with Calendar items. If we open a new Calendar Appointment (or any other appointment for that matter), the Temporarily created CommandBars are no longer there, yet our class-scoped variable containing a reference to the previous Calendar's Inspector STILL has a VALID reference to the previous Inspector?

Could someone please explain the difference in function between a MailItem and Calendar Item containing folder??

Regards,
-Darius
Reply With Quote