ITabWindowManager

IID_ITabWindowManager {CAE57FE7-5E06-4804-A285-A985E76708CD}

The ITabWindowManager methods are (as ordered in the virtual function table after the IUnknown methods):

Offset Method
0x0C AddTab
0x10 SelectTab
0x14 CloseAllTabs
0x18 GetActiveTab
0x1C GetCount
0x20 GetItem
0x24 IndexFromID
0x28 IndexFromHWND
0x2C GetBrowserFrame
0x30 AddBlankTab
0x34 AddTabGroup
0x38 GetCurrentTabGroup
0x3C OpenHomePages
0x40 RepositionTab

with prototypes:

HRESULT AddTab (PCIDLIST_ABSOLUTE, UINT, ULONG, LONG *);
HRESULT SelectTab (LONG);
HRESULT CloseAllTabs (VOID);
HRESULT GetActiveTab (ITabWindow **);
HRESULT GetCount (LONG *);
HRESULT GetItem (LONG, ITabWindow **);
HRESULT IndexFromID (LONG, LONG *);
HRESULT IndexFromHWND (HWND, LONG *);
HRESULT GetBrowserFrame (IBrowserFrame **);
HRESULT AddBlankTab (ULONG, LONG *);
HRESULT AddTabGroup (PIDLIST_ABSOLUTE *, LONG, ULONG);
HRESULT GetCurrentTabGroup (PIDLIST_ABSOLUTE **, LONG *, LONG *);
HRESULT OpenHomePages (INT);
HRESULT RepositionTab (LONG, LONG, INT);

in which IBrowserFrame and ITabWindow are undocumented interfaces.

Availability

The ITabWindowManager interface is implemented in IEFRAME version 7.0 and higher.

This interface is not documented by Microsoft as late as the January 2007 edition of the Software Development Kit (SDK) for Windows Vista.