Outlook Mail Selection Change Event Two times Fired RRS feed

  • Question

  • Hello,

    I have Developed one Outlook Addin(Outlook 2013) .we have some functionality on Mail Selection Change for that I have Written Code in Explorer_SelectionChange ,I have noticed one thing Selection Change Event Fired Two times.

    When i off Mail Reading-Pane it Called one time,

    but we need  Reading pane ON , so is there any solution available  Prevent Selection Change Two time Called.

    Thanks in advance


    • Edited by Mayank_55 Monday, April 18, 2016 7:09 AM add outlook version
    Monday, April 18, 2016 7:08 AM


  • Hello Mayank,

    This is a known issue. As a workaround you can keep the list entry ID values (see the EntryID property of Outlook items) and check the list every time the SelectionChange event is fired. In case if the list of entry IDs is not changed, you get the second event fired with the ReadingPane opened. So, you can skip it.


    • Marked as answer by Mayank_55 Monday, April 18, 2016 12:57 PM
    Monday, April 18, 2016 10:11 AM