ITabWindow

IID_ITabWindow {9BAB3405-EE3F-4040-8836-25AA9C2D408E}

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

Offset Method
0x0C GetID
0x10 Close
0x14 AsyncExec
0x18 GetTabWindowManager
0x1C OnBrowserCreated
0x20 OnNewWindow
0x24 OnBrowserClosed
0x28 OnRequestAttention
0x2C FrameTranslateAccelerator
0x30 SetTitle
0x34 SetIcon
0x38 SetStatusBarState
0x3C GetTitle
0x40 GetIcon
0x44 GetLocationPidl
0x48 GetNavigationState
0x4C GetProgress
0x50 GetFlags
0x54 GetBrowser
0x58 GetBrowserToolbarWindow
0x5C GetSearchState
0x60 GetAttentionState
0x64 ResampleImageAsync
0x68 OnTabImageResampled
0x6C GetStatusBarState

with prototypes:

HRESULT GetID (LONG *);
HRESULT Close (VOID);
HRESULT AsyncExec (GUID const *, ULONG, ULONG, VARIANT *);
HRESULT GetTabWindowManager (ITabWindowManager **);
HRESULT OnBrowserCreated (HWND, HWND, IDispatch *, ITabBrowserService *, PCIDLIST_ABSOLUTE);
HRESULT OnNewWindow (ULONG, IDispatch **);
HRESULT OnBrowserClosed (VOID);
HRESULT OnRequestAttention (TAB_ATTENTION_STATE);
HRESULT FrameTranslateAccelerator (MSG *, ULONG);
HRESULT SetTitle (PCWSTR, BOOL);
HRESULT SetIcon (HICON, INT);
HRESULT SetStatusBarState (INT, LONG);
HRESULT GetTitle (PWSTR, ULONG, BOOL);
HRESULT GetIcon (HICON *, INT *, INT);
HRESULT GetLocationPidl (PIDLIST_ABSOLUTE *);
HRESULT GetNavigationState (ULONG *);
HRESULT GetProgress (NAVIGATION_BAND_PROGRESS_STATE *, LONG *, LONG *);
HRESULT GetFlags (ULONG *);
HRESULT GetBrowser (IDispatch **);
HRESULT GetBrowserToolbarWindow (HWND *);
HRESULT GetSearchState (SEARCH_BAND_SEARCH_STATE *);
HRESULT GetAttentionState (TAB_ATTENTION_STATE *);
HRESULT ResampleImageAsync (VOID);
HRESULT OnTabImageResampled (HBITMAP);
HRESULT GetStatusBarState (INT *, LONG *);

in which NAVIGATION_BAND_PROGRESS_STATE, SEARCH_BAND_SEARCH_STATE and TAB_ATTENTION_STATE are invented as typedef declarations for undocumented enumerations:

typedef enum tagNAVIGATION_BAND_PROGRESS_STATE NAVIGATION_BAND_PROGRESS_STATE;
typedef enum tagSEARCH_BAND_SEARCH_STATE SEARCH_BAND_SEARCH_STATE;
typedef enum tagTAB_ATTENTION_STATE TAB_ATTENTION_STATE;

and ITabBrowserService and ITabWindowManager are undocumented interfaces.

Availability

The ITabWindow 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.