Drag and drop onto ADXCommandBarButton instances

Add-in Express™ Support Service
That's what is more important than anything else

Drag and drop onto ADXCommandBarButton instances
Can I drop stuff onto my tool bar in Outlook? 
Gene Golovchinsky




Posts: 14
Joined: 2007-02-18
Hi

To streamline the use of add-in, I thought it might be useful to allow users to drop items (e.g., files) onto a button (ADXCommandBarButton) on my Outlook addin toolbar. (The alternative is to click the button first, open a modal dialog, drop the file there, then close the dialog: a rather clunky solution.)

Unfortunately, ADXCommandBarButton does not inherit from System.Windows.Forms.Control, and thus I do not see an AllDrop property & associated events. Is there a workaround for adding this behavior?

Thanks in advance,

Gene
Posted 22 Feb, 2007 14:04:21 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Gene.

The fact is that Office command bars don't support the drag and drop technique. But I think the second solution can be implemented. You just need to add some buttons dynamically after the dialog closes.


P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.
Posted 23 Feb, 2007 10:30:40 Top