Dmitry Kostochko

Video HowTo: Outlook Explorer regions – DockTop region (VB.NET)

The region that we are going to scrutinize today is DockTop. This is a special region type that works only in Outlook 2007 and 2010. It resides underneath command bars (ribbon tabs in Outlook 2010) and gets Outlook’s┬ámain work area, including Navigation Pane,┬áSupergrid and To-Do bar, to shift a bit downwards.

In our video how-to, we are going to create a new DockTop region that will be displayed for folders containing Mail, Appointment, Contacts and Task items. Using the ADXFolderSwitch event handler we get access to a current folder, display its name and a number of items.

Note.This region has some limitations. It cannot be minimized or hidden. Also, the minimal height of the DockTop is 33 pixels.

Let’s see how it works:

This sample video was captured in Visual Studio 2010 (VB.NET) with Add-in Express 2010 for Office and .net.

You may also be interested in:

Regions for task pane docks – DockTop, DockLeft, DockRight, DockBottom
Video HowTo: Outlook Explorer regions – DockLeft region (VB.NET)

Post a comment

Have any questions? Ask us right now!