View Single Post
  #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

Ads