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 that counts user keys pressed

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
xqsnake - 27 Nov 2004 17:47 GMT
I'm writing an add-in for the VS 2003 and don't know how to count keys that
user is pressing during his app development, which event to handle and how?
I've tried all of the DTE events and the closest one is

EnvDTE.TextEditorEvents.LineChanged

but its only executed after the code line has changed so it's useless ;(
"Ed Dore [MSFT]" - 29 Nov 2004 19:29 GMT
Greetings,

With VS 2002/2003 automation models there is no event exposed to hook the
keyboard. The rationale behind not allowing for this was due to concerns
regarding the impact to performance. Specifically a couple dozen addin's
hooking the keyboard would probably not be good for performance. But due to
popular demand, I believe this will change with Whidbey (VS 2005).

Sincerely,
Ed Dore [MSFT]

This post is 'AS IS' with no warranties, and confers no rights.

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.