A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Capture delete key



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 23rd 07, 06:09 PM posted to microsoft.public.outlook.program_vba
Dhananjay
external usenet poster
 
Posts: 33
Default Capture delete key

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

  #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

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
web page capture brewdyl Outlook - General Queries 0 June 11th 07 06:00 PM
Contact Capture Utility? Talal Itani Outlook - General Queries 2 April 23rd 07 11:59 PM
how to capture email addressess that comes with my fwd emails Cuthbeja Outlook - Using Contacts 2 October 13th 06 02:41 PM
Capture selected text René Outlook and VBA 1 August 31st 06 06:44 AM
Capture accounts from another OE Bruce Hagen Outlook Express 3 January 23rd 06 06:38 PM


All times are GMT +1. The time now is 09:11 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.