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

double click mail item



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 30th 06, 05:12 PM posted to microsoft.public.outlook.program_vba
jpspringall
external usenet poster
 
Posts: 3
Default double click mail item

is it possible to catch the double click event when a user double clicks an
item in folder and override what it does
  #2  
Old May 30th 06, 07:46 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default double click mail item

You will need to trap the Application.ActivereExplorer.SelectionChange
event, for each selected item trap the MailItem.Open event, which has a
Cancel parameter (passed by refereence). By setting that parameter to TRUE,
you can prevent Outlook from opening that item.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"jpspringall" wrote in message
...
is it possible to catch the double click event when a user double clicks
an
item in folder and override what it does



  #3  
Old May 31st 06, 10:18 AM posted to microsoft.public.outlook.program_vba
jpspringall
external usenet poster
 
Posts: 3
Default double click mail item

cheers, worked out what i needed to do, thanks for pointing me in the right
direction with the open event

"Dmitry Streblechenko" wrote:

You will need to trap the Application.ActivereExplorer.SelectionChange
event, for each selected item trap the MailItem.Open event, which has a
Cancel parameter (passed by refereence). By setting that parameter to TRUE,
you can prevent Outlook from opening that item.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"jpspringall" wrote in message
...
is it possible to catch the double click event when a user double clicks
an
item in folder and override what it does




 




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
Search for contact item with double quotes in Name Dave Add-ins for Outlook 2 May 11th 06 08:01 PM
Can't double click to create a new appointment in Outlook pts66 Outlook - Calandaring 1 March 2nd 06 06:43 PM
Microsoft Outlook closes when I try and open (double-click) a Contact [email protected] Outlook - General Queries 0 February 28th 06 07:37 PM
Tasks Not Opening on Double Click Chrispsg Outlook - General Queries 2 February 7th 06 10:47 PM
New Mail Icon Double-Click Action [email protected] Outlook - General Queries 1 January 28th 06 12:32 AM


All times are GMT +1. The time now is 09:55 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.