none
Outlook 2013 InlineResponse, InlineResponseClose events

    Question

  • Outlook 2013's Explorer OOM object adds two new events - InlineResponse and InlineResponseClose.

    Q1: What are event ids for these events? Are 0xfc92 for InlineResponse and 0xfc96 for InlineResponseClose?

    Q2: If 0xfc96 is InlineResponseClose, why pDispParams->cArgs = 0 not 1? Below copy from  http://msdn.microsoft.com/en-us/library/office/jj715746.aspx. InlineResponseClose has one param "Item".

    Syntax

    expression .InlineResponseClose(Item)

    expression A variable that represents an Explorer object.

    Q3: How do I know InlineResponse created is new or draft?

    Q4: How do I know InlineResponse closed by Pop out or Discard?

    Thanks.

    Tuesday, January 15, 2013 4:52 PM

Answers

  • Thanks Dmitry.

    For question 3, I means when you click reply button, InlineResponse event is called to create a new InlineResponse. Do not click Pop out or Discard, select a different message, and then select back to that message, InlineResponse event is called to show the draft InlineResponse. How do I know when InlineResponse event is called, InlineResponse is new or draft?

    Tuesday, January 15, 2013 6:54 PM
  • Check if Item.EntryID has a value.

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

    Wednesday, January 16, 2013 4:32 PM

All replies

  • 1. Correct

    2. The documentation is wrong. InlineResponseClose does not take any parameters.

    3. Isn't inline response only for an existing item so it is always a reply? Or did you mean something else?

    4. I don't think you can. You will of course get the Inspectors.NewInspector event if you choose "Pop Out".


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

    Tuesday, January 15, 2013 5:03 PM
  • Thanks Dmitry.

    For question 3, I means when you click reply button, InlineResponse event is called to create a new InlineResponse. Do not click Pop out or Discard, select a different message, and then select back to that message, InlineResponse event is called to show the draft InlineResponse. How do I know when InlineResponse event is called, InlineResponse is new or draft?

    Tuesday, January 15, 2013 6:54 PM
  • Check if Item.EntryID has a value.

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

    Wednesday, January 16, 2013 4:32 PM