Add-In: Parameter 'handled' consequences in IDTCommandTarget.Exec? RRS feed

  • Question

  • Hi,

    Win8, VS 2012.

    What are the consequences - it does not seem to matter whether I set this to "True" or not...?


    Thursday, January 31, 2013 8:42 AM


  • If you say handled is false the command will continue routing through the normal command route (AddIns are 'special' in terms of command routing, they don't appear in the normal command route and are only sent commands that they themselves created). It is slightly more effecient since no one else is asked about the command if you said you have handled it.

    Thursday, January 31, 2013 8:35 PM