none
right click drag evnts RRS feed

  • Question

  • in outlook 2007 when we rightclick drag , it shows three options copy, move or cancel. is there any way to check which option was selected? ineed to do it programatically through vb.net

     

    Thanks

     

    Monday, August 1, 2011 3:16 PM

Answers

  • Hi Nitrup,

     

    It’s based on my experience we are not able to track the context menu click. I think this is a way to solve your issue: we can compare the conversationIndex property of the appointment item in different. If the particular appointment has no duplicate conversationIndex in the other calendar it means this is a new appointment or it moved from other calendar, otherwise it is a copy from the other calendar. I have no idea about “undeleted”, would you please clarify again?

     

    I hope what I said can help you.

     

    Have a good day,

     

    Tom


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Friday, August 5, 2011 1:51 AM
    Moderator

All replies

  • in outlook 2007 when we rightclick drag , it shows three options copy, move or cancel. is there any way to check which option was selected? ineed to do it programatically through vb.net

     

    Thanks

     


    if this is not possible, can anyone tell me  when ItemAdd event will fire ,is there any way to check whether item was a copied, undeleted item or moved item?
    Tuesday, August 2, 2011 4:12 PM
  • Hi Nitrup,

     

    Thanks for posting in the MSDN forum.

     

    Would you please show me some steps of “rightclick drag”? I try to find the three options which you mentioned in your posting. But it seems hard to fine it. Please tell me how to reproduce your need?

     

    Have a good day,

     

    Tom


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, August 3, 2011 2:48 AM
    Moderator
  • Tom,

    you should have atleast two calendares open.

    create an appointment in any of the calendar

    press down right button of mouse on appointment and without releasing mouse button , try to drag the item on other calendar

    when your mouse is on another calenadar then release the button, it will show you a context menu having three options, copy, move, cancel.

    clicking on move will move the appointment to target calendar which means from source calendar item willl removed now

    clicking on copy will copy same appointment in target calendar

    clicking on cancel will do nothing.


    note that i am using outlook 2007

     

    it willalso be ok if you can tell me, when ItemAdd event will fire ,is there any way to check whether item was a copied, undeleted item or moved item

     

    Thanks

     

     


    Wednesday, August 3, 2011 8:28 AM
  • Hi Nitrup,

     

    It’s based on my experience we are not able to track the context menu click. I think this is a way to solve your issue: we can compare the conversationIndex property of the appointment item in different. If the particular appointment has no duplicate conversationIndex in the other calendar it means this is a new appointment or it moved from other calendar, otherwise it is a copy from the other calendar. I have no idea about “undeleted”, would you please clarify again?

     

    I hope what I said can help you.

     

    Have a good day,

     

    Tom


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Friday, August 5, 2011 1:51 AM
    Moderator