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

MailItem Close Event



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old April 18th 07, 09:04 PM posted to microsoft.public.outlook.program_vba
Robert Morley
external usenet poster
 
Posts: 9
Default MailItem Close Event

Hi all,

I have a MailItem object (technically via Redemption, but as far as I can
tell, it works the same with the "normal" object library as well), which I'm
displaying on screen with the Display method. I'm monitoring the Close
event to determine if the message is not being sent. I need to find some
way of determining whether the user has clicked Cancel to the "Do you want
to save changes?" dialog and the message is really still open. Is there
some way I can do this? I've looked around most of the properties,
including the various GetInspector properties, and I can't seem to find
ANYTHING that's different whether I click "Cancel" or "No" when prompted.

Or better yet, is there an easy way to open an object with Display, then
determine when the message has been finalized (i.e., sent or truly closed)?



Thanks,
Rob


 




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
Explorer' Close event not fired j Add-ins for Outlook 9 April 2nd 07 02:24 PM
event handler for changes to TO CC and BCC properties of mailitem epsilon_9 Outlook and VBA 3 January 15th 07 03:14 PM
Inspector Close Event is fired when spell checking is canceled. Arcady Outlook and VBA 6 December 28th 06 02:38 PM
Changing RTF Body on MailItem Read event [email protected] Add-ins for Outlook 3 September 13th 06 07:30 PM
Cancelling Outlook.Application.ActiveExplorer.Close event? Nathan Add-ins for Outlook 1 September 8th 06 07:14 PM


All times are GMT +1. The time now is 12:52 PM.


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.