Dmitry Kostochko

HowTo: Drag and drop onto a minimized Outlook Region and Word Task Pane

In one of the previous posts, we examined the possibilities of retrieving properties from Outlook MailItem when dragging this item onto your custom form. Here is that post: How to get properties of an Outlook email item drag-and-dropped onto a .NET form. But what if the Advanced Region is in a Minimized state? In this case the form is hidden and none of the standard events will work.

Starting from version 5.1, a new event is available in Add-in Express – ADXDragOverMinimized. Using this event you can access a dragged item and expand the form. The code of the sample is very plain indeed, and I am not going to publish it here. You can download the samples using the links at the end of this post.

You may also be interested in:

Advanced Outlook Regions for Outlook forms and views
Advanced Outlook Regions for Explorer and Inspector windows
Advanced Outlook Regions: read and compose mode
Advanced Outlook Regions: minimized, expanded, hidden

Available downloads:

C# sample Outlook and Word add-in for VS 2005
VB.NET sample Outlook and Word add-in for VS 2005
Delphi 7 sample Outlook and Word add-in

Post a comment

Have any questions? Ask us right now!