Hi Friends,
I'm working with Visual Studio Add-Ins. Using Visual Studio Extensibility
(EnvDTE) I have disabled the context-menu (right-click) mouse event of
deleting a project item. But I'm unable to lock/disable the Keyboard events.
If I select an project item and press the "Delete" key in the keyboard, the
VS .NET will does the process of deletion.
In the VS Extensibility, I come to know about the ProjectItemsEvents and the
following events:
(a) ItemAdded
(b) ItemRemoved
(c) ItemRenamed
For above mention situation, I can't use ItemRemoved. Because it fires after
the removal of the project item.
In normal event handlers of System.EventArgs we will use e.Cancel = true to
stop the event proceeding further. But I couldn't find such an option here.
Kindly reply, if you have the solution.....
Awaiting your response...
Thanks in advance,
Pravinkumar KN
Kit George (MSFT) - 01 Feb 2005 18:31 GMT
Pravin, could you ask this question in the VS newsgroup? It will be more
likely to get an answer.
Thanks,
Kit
Pravin - 10 Feb 2005 05:01 GMT
Hi Kit George,
Thanks for your suggestion. I've already did that.
Many Thanks,
Pravinkumar KN
> Pravin, could you ask this question in the VS newsgroup? It will be more
> likely to get an answer.
>
> Thanks,
> Kit