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

Outlook Folder Drag and Drop Event



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 22nd 06, 12:37 AM posted to microsoft.public.outlook.program_vba
jsturma
external usenet poster
 
Posts: 3
Default Outlook Folder Drag and Drop Event

Is it a way to monitor drag and drop folder?

  #2  
Old September 22nd 06, 09:08 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Outlook Folder Drag and Drop Event

Am 21 Sep 2006 15:37:20 -0700 schrieb jsturma:

You can monitor the FolderAdd and FolderRemove events.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


Is it a way to monitor drag and drop folder?

  #3  
Old September 22nd 06, 03:41 PM posted to microsoft.public.outlook.program_vba
jsturma
external usenet poster
 
Posts: 3
Default Outlook Folder Drag and Drop Event

Hi,

FolderAdd and FolderRemove works fine for an unique folder like
inbox....etc. I'm looking on a way to monitor drag and drop from any
where to one folder.

Rgds
Jean

  #4  
Old September 23rd 06, 07:58 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Outlook Folder Drag and Drop Event

Am 22 Sep 2006 06:41:10 -0700 schrieb jsturma:

Do you mean dragging items in a folder? Actually there´s no event in OL for
d&d neither for folders nor for items.

What I could think of would be to subclass the mouse events: If the mouse is
being moved while the left button is pressed then you could store which
item(s) is/are selected in which folder. If you then get an ItemAdd event in
any folder then that would almost indicate the d&d operation. But only
almost because there´s still one problem: Before the ItemAdd raises you have
to let go of the left mouse button - and that state usually means: no d&d
operation.

Maybe that could be solved with a timer: If an ItemAdd occurs within x ms
after you let go of the mouse then consider it a d&d.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


Hi,

FolderAdd and FolderRemove works fine for an unique folder like
inbox....etc. I'm looking on a way to monitor drag and drop from any
where to one folder.

Rgds
Jean

  #5  
Old September 23rd 06, 10:43 AM posted to microsoft.public.outlook.program_vba
jsturma
external usenet poster
 
Posts: 3
Default Outlook Folder Drag and Drop Event

I want to monitor only folder move. Mouse events could be a solution
for it, i'm thinking on using CommandBar event OnUpdate combined with
MouseUp. I'll try to go forward on that road.

Best,
Jean

  #6  
Old September 25th 06, 10:33 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Outlook Folder Drag and Drop Event

Extended MAPI: use the fnevObjectMoved notification from IMsgStore.
plugRedemption exposes that event as RDOStore.OnFolderMoved/FolderMovedEx
events (http://www.dimastr.com/redemption/rdo/rdostore.htm#events)/plug

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

"jsturma" wrote in message
ps.com...
I want to monitor only folder move. Mouse events could be a solution
for it, i'm thinking on using CommandBar event OnUpdate combined with
MouseUp. I'll try to go forward on that road.

Best,
Jean



 




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
Drag and drop apointments in Outlook 2007 Lars Outlook - Calandaring 0 August 29th 06 10:45 AM
very slow when I drag and drop emails to a folder Challenged 1 Outlook - General Queries 3 March 18th 06 04:46 AM
Drag and drop emails in Outlook 2003 Tiffany Outlook - General Queries 1 March 10th 06 11:27 PM
How do I drag and drop a name from Word to Outlook? sleepyhollowkaren Outlook - Using Contacts 0 February 27th 06 07:02 PM
Cant drag and drop attachments using Outlook 2000 Matt Barr Outlook - General Queries 1 January 17th 06 11:08 PM


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