Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / February 2005

Tip: Looking for answers? Try searching our database.

Urgent : Event Handling in Visual Studio Extensibility

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Pravin - 31 Jan 2005 11:17 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.