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