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.