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.
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.
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.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.