Hi Marcio,
You can probably take a look at some of the Power Toys at
http://gdndev/team/ide/ and more specifically VsMouseBindings which
captures mouse events. I suppose in a similar fasion you might be able to
capture events when you type as well.
Boyan
--
Help us be more effective by sending feedback about our posts.
From 1 to 5, how helpful was this posting?
5: Best : mailto:vscore@microsoft.com?subject=5
4: : mailto:vscore@microsoft.com?subject=4
3: : mailto:vscore@microsoft.com?subject=3
2: : mailto:vscore@microsoft.com?subject=2
1: Worst : mailto:vscore@microsoft.com?subject=1
---
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
[quoted text, click to view] >From: "news.microsoft.com" <nospam@hotmail.com>
>Subject: Add-in trapping Editor events
>Date: Sat, 23 Aug 2003 19:30:55 -0400
>Lines: 14
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <eO7nc6caDHA.1872@TK2MSFTNGP12.phx.gbl>
>Newsgroups: microsoft.public.vsnet.ide
>NNTP-Posting-Host: fl.24.96.16.116.cablemodem.gte.net 24.96.16.116
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.vsnet.ide:7726
>X-Tomcat-NG: microsoft.public.vsnet.ide
>
>I would like to create an Add-in that intercepts some of the Code editor
>events for every key pressed.....
>
>Can I do that ??
>
>I've tried the EventsWatcher sample but that only catches some
>events.....not when I type something....
>
>Can you guys point me into the right direction here ?
>
>Thanks,
>Marcio
>
>
>