IShellTabWindow

IID_IShellTabWindow {AE6C0C49-C1CD-411E-A177-A78BCE40A5D0}

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

Offset Method
0x0C Close
0x10 GetTabWindowManager
0x14 OnBrowserCreated
0x18 OnBrowserClosed
0x1C OnBrowserActive
0x20 FrameTranslateAccelerator
0x24 SetTitle
0x28 SetIcon
0x2C SetStatusBarState
0x30 GetTitle
0x34 GetIcon
0x38 GetLocationPidl
0x3C GetNavigationState
0x40 GetProgress
0x44 GetFlags
0x48 GetBrowser
0x4C GetSearchState
0x50 GetStatusBarState

with prototypes:

HRESULT Close (VOID);
HRESULT GetTabWindowManager (IShellTabWindowManager **);
HRESULT OnBrowserCreated (HWND, IDispatch *, IShellTabBrowserService *, PCIDLIST_ABSOLUTE);
HRESULT OnBrowserClosed (VOID);
HRESULT OnBrowserActive (VOID);
HRESULT FrameTranslateAccelerator (MSG *, ULONG);
HRESULT SetTitle (PCWSTR, BOOL);
HRESULT SetIcon (HICON, INT, INT);
HRESULT SetStatusBarState (INT, LONG);
HRESULT GetTitle (PWSTR, ULONG, BOOL);
HRESULT GetIcon (HICON *, INT *, INT, INT);
HRESULT GetLocationPidl (PIDLIST_ABSOLUTE *);
HRESULT GetNavigationState (ULONG *);
HRESULT GetProgress (SHELL_NAVIGATION_BAND_PROGRESS_STATE *, LONG *, LONG *);
HRESULT GetFlags (ULONG *);
HRESULT GetBrowser (IDispatch **);
HRESULT GetSearchState (SHELL_SEARCH_BAND_SEARCH_STATE *);
HRESULT GetStatusBarState (INT *, LONG *);

in which SHELL_NAVIGATION_BAND_PROGRESS_STATE and SHELL_SEARCH_BAND_SEARCH_STATE are invented as typedef declarations for undocumented enumerations:

typedef enum tagSHELL_NAVIGATION_BAND_PROGRESS_STATE SHELL_NAVIGATION_BAND_PROGRESS_STATE;
typedef enum tagSHELL_SEARCH_BAND_SEARCH_STATE SHELL_SEARCH_BAND_SEARCH_STATE;

and IShellTabBrowserService and IShellTabWindowManager are undocumented interfaces.

Availability

The IShellTabWindow interface is implemented in BROWSEUI version 6.0 from Windows Vista only. It appears to have been developed as a shell-specific variation of the ITabWindow interface from IEFRAME version 7.0 and higher.

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