Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / September 2006

Tip: Looking for answers? Try searching our database.

Outlook Folder Drag and Drop Event

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jsturma - 21 Sep 2006 23:37 GMT
Is it a way to monitor drag and drop folder?
Michael Bauer [MVP - Outlook] - 22 Sep 2006 08:08 GMT
Am 21 Sep 2006 15:37:20 -0700 schrieb jsturma:

You can monitor the FolderAdd and FolderRemove events.

Signature

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

> Is it a way to monitor drag and drop folder?
jsturma - 22 Sep 2006 14:41 GMT
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
Michael Bauer [MVP - Outlook] - 23 Sep 2006 06:58 GMT
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.

Signature

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

> Hi,
>
[quoted text clipped - 4 lines]
> Rgds
> Jean
jsturma - 23 Sep 2006 09:43 GMT
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
Dmitry Streblechenko - 25 Sep 2006 21:33 GMT
Extended MAPI: use the fnevObjectMoved notification from IMsgStore.
<plug>Redemption 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

>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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.