none
Outlook 2010, NewInspector event not fired. RRS feed

  • Question

  • Hi,

    With Outlook 2010, the NewInspector event is not fired, till click either Message or Insert tab in a new inspector, if "Minimize the Ribbon" is selected.

    To reproduce:

    1. Right-click a file from desktop,  select "Send to" -> Mail recipient.

    2. After a new inspector is open, select "Minimize the Ribbon" from Ribbon context menu.

    3. Repeat step 1, the NewInspector event is not fired, untill click either Message or Insert tab from the new inspecotr.

    If start a new email from Outlook, the new inspector event is always fired no matter the ribbon is minimized or not.

    Is this a known issue?

    Thanks

    jhou

    Friday, May 10, 2013 7:24 PM

Answers

  • Probably a bug in Outlook? That however does not change what you need to do wot work around that issue - as Ken mentioned, the new inspector will be in the Application.Inspectors collection, so you need to fire a timer and periodically check if there is a new inspector that you have not yet touched. 

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    • Marked as answer by jhou Monday, May 20, 2013 3:42 PM
    Friday, May 10, 2013 8:15 PM

All replies

  • This is by design - new messages created using Simple MAPI, mailto urls, or Extended MAPI do not fire Inspecor related events.

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Friday, May 10, 2013 7:42 PM
  • Simple MAPI Inspectors are added to the Inspectors collection though, so if you scan the Inspectors collection you can set an Inspector object and all events/methods/properties of the Inspector and .CurrentItem do work.

    Ken Slovak MVP - Outlook

    Friday, May 10, 2013 7:46 PM
    Moderator
  • Thanks for response. Glad to know it is by design. However it does fire the event when ribbon is enabled. Any good reason why it does when ribbon enabled?
    Friday, May 10, 2013 8:10 PM
  • I'd have to check that, if that is so it's new behavior that I've not seen. Outlook never fired NewInspector() at all for Simple MAPI Inspectors.


    Ken Slovak MVP - Outlook

    Friday, May 10, 2013 8:13 PM
    Moderator
  • Probably a bug in Outlook? That however does not change what you need to do wot work around that issue - as Ken mentioned, the new inspector will be in the Application.Inspectors collection, so you need to fire a timer and periodically check if there is a new inspector that you have not yet touched. 

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    • Marked as answer by jhou Monday, May 20, 2013 3:42 PM
    Friday, May 10, 2013 8:15 PM