View Single Post
  #2  
Old October 24th 07, 07:02 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Capture delete key



Once I tried it with subclassing, no way. Even with a hook written in C++,
which works for all the other keys, I had no success. So, if you find a way
I'd be interested, too.

But at least you can capture the Explorer's SelectionChange event, which
fires if an item gets deleted.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Tue, 23 Oct 2007 16:09:43 -0000 schrieb Dhananjay:

Hi All,
I want to capture delete key on any mailitem. i.e. If user wants to
delete any mail, then if he uses the delete key on the keyboard, can I
trap the event for that?
Thanks,
Dhananjay

Ads