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 / Visual Studio.NET / Extensibility / November 2004

Tip: Looking for answers? Try searching our database.

Add-In To Trap a Keystroke

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nick Carter - 08 Nov 2004 11:10 GMT
I want to write an add-in that traps a particular keystroke, say, Ctrl+F8,
in the source code editor to perform a specific function. Can anyone tell me
how to trap the keystroke ? I have looked at the LineChanged event but this
appears to be activated only when the line is completed.

Nick Carter
Carlos J. Quintero [MVP] - 08 Nov 2004 14:14 GMT
Your add-in should create DTE command and then create a keyboard binding for
the command using the Command.Bindings object.

Signature

Carlos J. Quintero (Visual Developer - .NET MVP)

The MZ-Tools all-in-one add-in, now for .NET: http://www.mztools.com

> I want to write an add-in that traps a particular keystroke, say, Ctrl+F8,
> in the source code editor to perform a specific function. Can anyone tell me
> how to trap the keystroke ? I have looked at the LineChanged event but this
> appears to be activated only when the line is completed.
>
> Nick Carter

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.