
next item and previous item?
Forget it. I did it in the best way I could think of, but it seems
convoluted:
1) On mailitem.Close event, fire an event of my email-wrapper class back to
my inspector-wrapper-class.
2) Check the inspector.CurrentItem to see if it's the same as the one I
already have dim'ed.
2a) If same, then the inspector is closing...basically do nothing, because
I'll un-set the object in the terminate.
2b) If different, free the object-var of my email-wrapper-class and
re-allocate it to the new CurrentItem.
2b.1) Fire a "friend sub" on the email-wrapper-class to explicitly
trigger the "Open" event -- this doesn't occur auto.
Weird, huh? But it works!
--AJ
Quote:
> Anyone know how to detect that the "CurrentItem" of the ActiveInspector is
> changing? For example, if the user clicks on the NextItem or PreviousItem
> button, I don't really know where to find out that the Inspector's
> CurrentItem is changing.
> Ideas?
> --AJ