Home COM GDI+ WebBrowser Data Access

IWebBrowser2 Interface

 

CLSID_InternetExplorer

{8856F961-340A-11D0-A96B-00C04FD705A2}

CLSID_WebBrowser

{8856F961-340A-11D0-A96B-00C04FD705A2}

IID_IWebBrowser2

{D30C1661-CDAF-11D0-8A3E-00C04FC9E26E}

 

 

This interface enables applications to implement an instance of the WebBrowser control (Microsoft ActiveX control) or control an instance of the InternetExplorer application (OLE Automation). Note that not all of the methods listed below are supported by the WebBrowser control.

 

The IWebBrowser2 interface derives from IDispatch indirectly. IWebBrowser2 derives from IWebBrowserApp, which in turn derives from IWebBrowser, which finally derives from IDispatch.

 

Note  The IWebBrowser and IWebBrowserApp interfaces are deprecated.

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IWebBrowser2 Members

Description

GoBack

Navigates backward one item in the history list.

GoForward

Navigates forward one item in the history list.

GoHome

Navigates to the current home or start page.

GoSearch

Navigates to the current search page.

Navigate

Navigates to a resource identified by a URL or to the file identified by a full path.

Refresh

Reloads the file that is currently displayed in the object.

Refresh2

Reloads the file that is currently displayed in the object. Unlike IWebBrowser2::Refresh, this method contains a parameter that specifies the refresh level.

Stop

Cancels any pending navigation or download operation and stops any dynamic page elements, such as background sounds and animations.

Application

Retrieves the automation object for an application that is hosting the WebBrowser Control.

Parent

Retrieves the parent of the object.

Container

Retrieves an object reference to a container.

Document

Retrieves the automation object of the active document, if any.

TopLevelContainer

Retrieves a value that indicates whether the object is a top-level container.

Type

Retrieves the type name of the contained document object—that is, Windows HTML Viewer.

Left

Sets or retrieves the screen coordinate of the left edge of the main window of the object.

Top

Sets or retrieves the screen coordinate of the top edge of the main window of the object.

Width

Sets or retrieves the width of the main window for the object.

Height

Sets or retrieves the height of the Internet Explorer main window.

LocationName

Retrieves the name of the resource that Internet Explorer is currently displaying.

LocationURL

Retrieves the URL of the resource that Internet Explorer is currently displaying.

Busy

Retrieves a BOOL value indicating whether the object is engaged in a navigation or downloading operation.

Quit

Closes the object.

ClientToWindow

Converts the client coordinates of a point to window coordinates.

PutProperty

Sets the value of a property associated with the object.

GetProperty

Retrieves the value of a property associated with the given object.

Name

Retrieves the name of the object that contains the WebBrowser Control used by Internet Explorer.

HWND

Retrieves the handle of the Internet Explorer main window.

FullName

Retrieves the fully qualified path of the Microsoft Internet Explorer executable file.

Path

Retrieves the full path to the object.

Visible

Sets or retrieves a value that indicates whether the object is visible or hidden.

StatusBar

Sets or retrieves a value that indicates whether the status bar for the object is visible.

StatusText

Sets or retrieves the text in the status bar for the object.

Toolbar

Sets or retrieves a value that indicates whether the toolbar for the object is visible.

MenuBar

Sets or retrieves a VARIANT_BOOL value that indicates whether the Internet Explorer menu bar is visible.

FullScreen

Sets or retrieves a VARIANT_BOOL value that indicates whether Internet Explorer is in full-screen or normal window mode.

Navigate2

Navigates the browser to a location that might not be able to be expressed as a URL, such as a pointer to an item identifier list (PIDL) for an entity in the Microsoft Windows shell namespace.

QueryStatusWB

Queries the OLE object for the status of commands using the IOleCommandTarget::QueryStatus method.

ExecWB

Executes a command on an OLE object and returns the status of the command execution using the IOleCommandTarget interface.

ShowBrowserBar

Shows or hides a specified browser bar.

ReadyState

Retrieves the ready state of the object.

Offline

Sets or retrieves a VARIANT_BOOL value that indicates whether the object is currently operating in offline mode.

Silent

Sets or retrieves a value that indicates whether the object can show dialog boxes.

RegisterAsBrowser

Sets or retrieves a value that indicates whether the object is registered as a top-level browser for target name resolution.

RegisterAsDropTarget

Sets or retrieves a value that indicates whether the object is registered as a drop target for navigation.

TheaterMode

Sets or retrieves a value that indicates whether the object is in theater mode.

AddressBar

Sets or retrieves whether the address bar of the object is visible or hidden.

Resizable

Sets or retrieves a value that indicates whether the object can be resized.

 

GoBack

 

FUNCTION IWebBrowser2_GoBack ( _
  BYVAL pthis AS DWORD PTR _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[7] USING IWebBrowser2_GoBack (pthis) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

GoForward

 

FUNCTION IWebBrowser2_GoForward ( _
  BYVAL pthis AS DWORD PTR _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[8] USING IWebBrowser2_GoForward (pthis) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

GoHome

 

FUNCTION IWebBrowser2_GoHome ( _
  BYVAL pthis AS DWORD PTR _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[9] USING IWebBrowser2_GoHome (pthis) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

GoSearch

 

FUNCTION IWebBrowser2_GoSearch ( _
  BYVAL pthis AS DWORD PTR _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[10] USING IWebBrowser2_GoSearch (pthis) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

Navigate

 

FUNCTION IWebBrowser2_Navigate ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL URL AS STRING _
, BYREF Flags AS VARIANT _
, BYREF TargetFrameName AS VARIANT _
, BYREF PostData AS VARIANT _
, BYREF Headers AS VARIANT _
  ) AS LONG

  LOCAL HRESULT AS LONG
  URL = UCODE$(URL)
  CALL DWORD @@pthis[11] USING IWebBrowser2_Navigate (pthis, URL, Flags, TargetFrameName, PostData, Headers) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

Refresh

 

FUNCTION IWebBrowser2_Refresh ( _
  BYVAL pthis AS DWORD PTR _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[12] USING IWebBrowser2_Refresh (pthis) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

Refresh2

 

FUNCTION IWebBrowser2_Refresh2 ( _
  BYVAL pthis AS DWORD PTR _
, BYREF Level AS VARIANT _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[13] USING IWebBrowser2_Refresh2 (pthis, Level) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

Stop

 

FUNCTION IWebBrowser2_Stop ( _
  BYVAL pthis AS DWORD PTR _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[14] USING IWebBrowser2_Stop (pthis) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

Application

 

FUNCTION IWebBrowser2_get_Application ( _
  BYVAL pthis AS DWORD PTR _
, BYREF ppDisp AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[15] USING IWebBrowser2_get_Application (pthis, ppDisp) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

Parent

 

FUNCTION IWebBrowser2_get_Parent ( _
  BYVAL pthis AS DWORD PTR _
, BYREF ppDisp AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[16] USING IWebBrowser2_get_Parent (pthis, ppDisp) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

Container

 

FUNCTION IWebBrowser2_get_Container ( _
  BYVAL pthis AS DWORD PTR _
, BYREF ppDisp AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[17] USING IWebBrowser2_get_Container (pthis, ppDisp) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

Document

 

FUNCTION IWebBrowser2_get_Document ( _
  BYVAL pthis AS DWORD PTR _
, BYREF ppDisp AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[18] USING IWebBrowser2_get_Document (pthis, ppDisp) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

TopLevelContainer

 

FUNCTION IWebBrowser2_get_TopLevelContainer ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pBool AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[19] USING IWebBrowser2_get_TopLevelContainer (pthis, pBool) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

Type

 

FUNCTION IWebBrowser2_get_Type ( _
  BYVAL pthis AS DWORD PTR _
, BYREF prmType AS STRING _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[20] USING IWebBrowser2_get_Type (pthis, prmType) TO HRESULT
  FUNCTION = HRESULT
  prmType = ACODE$(prmType)

END FUNCTION
 

 

Left

 

FUNCTION IWebBrowser2_get_Left ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pl AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[21] USING IWebBrowser2_get_Left (pthis, pl) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 


 

FUNCTION IWebBrowser2_put_Left ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pl AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[22] USING IWebBrowser2_put_Left (pthis, pl) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

Top

 

FUNCTION IWebBrowser2_get_Top ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pl AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[23] USING IWebBrowser2_get_Top (pthis, pl) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 


 

FUNCTION IWebBrowser2_put_Top ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pl AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[24] USING IWebBrowser2_put_Top (pthis, pl) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

Width

 

FUNCTION IWebBrowser2_get_Width ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pl AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[25] USING IWebBrowser2_get_Width (pthis, pl) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 


 

FUNCTION IWebBrowser2_put_Width ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pl AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[26] USING IWebBrowser2_put_Width (pthis, pl) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

Height

 

FUNCTION IWebBrowser2_get_Height ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pl AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[27] USING IWebBrowser2_get_Height (pthis, pl) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 


 

FUNCTION IWebBrowser2_put_Height ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pl AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[28] USING IWebBrowser2_put_Height (pthis, pl) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

LocationName

 

FUNCTION IWebBrowser2_get_LocationName ( _
  BYVAL pthis AS DWORD PTR _
, BYREF LocationName AS STRING _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[29] USING IWebBrowser2_get_LocationName (pthis, LocationName) TO HRESULT
  FUNCTION = HRESULT
  LocationName = ACODE$(LocationName)

END FUNCTION
 

 

LocationURL

 

FUNCTION IWebBrowser2_get_LocationURL ( _
  BYVAL pthis AS DWORD PTR _
, BYREF LocationURL AS STRING _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[30] USING IWebBrowser2_get_LocationURL (pthis, LocationURL) TO HRESULT
  FUNCTION = HRESULT
  LocationURL = ACODE$(LocationURL)

END FUNCTION
 

 

Busy

 

FUNCTION IWebBrowser2_get_Busy ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pBool AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[31] USING IWebBrowser2_get_Busy (pthis, pBool) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

Quit

 

FUNCTION IWebBrowser2_Quit ( _
  BYVAL pthis AS DWORD PTR _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[32] USING IWebBrowser2_Quit (pthis) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

ClientToWindow

 

FUNCTION IWebBrowser2_ClientToWindow ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pcx AS LONG _
, BYREF pcy AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[33] USING IWebBrowser2_ClientToWindow (pthis, pcx, pcy) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

PutProperty

 

FUNCTION IWebBrowser2_PutProperty ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL Property AS STRING _
, BYVAL vtValue AS VARIANT _
  ) AS LONG

  LOCAL HRESULT AS LONG
  Property = UCODE$(Property)
  CALL DWORD @@pthis[34] USING IWebBrowser2_PutProperty (pthis, Property, vtValue) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

GetProperty

 

FUNCTION IWebBrowser2_GetProperty ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL Property AS STRING _
, BYREF pvtValue AS VARIANT _
  ) AS LONG

  LOCAL HRESULT AS LONG
  Property = UCODE$(Property)
  CALL DWORD @@pthis[35] USING IWebBrowser2_GetProperty (pthis, Property, pvtValue) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

Name

 

FUNCTION IWebBrowser2_get_Name ( _
  BYVAL pthis AS DWORD PTR _
, BYREF prmName AS STRING _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[36] USING IWebBrowser2_get_Name (pthis, prmName) TO HRESULT
  FUNCTION = HRESULT
  prmName = ACODE$(prmName)

END FUNCTION
 

 

HWND

 

FUNCTION IWebBrowser2_get_HWND ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pHWND AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[37] USING IWebBrowser2_get_HWND (pthis, pHWND) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

FullName

 

FUNCTION IWebBrowser2_get_FullName ( _
  BYVAL pthis AS DWORD PTR _
, BYREF FullName AS STRING _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[38] USING IWebBrowser2_get_FullName (pthis, FullName) TO HRESULT
  FUNCTION = HRESULT
  FullName = ACODE$(FullName)

END FUNCTION
 

 

Path

 

FUNCTION IWebBrowser2_get_Path ( _
  BYVAL pthis AS DWORD PTR _
, BYREF Path AS STRING _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[39] USING IWebBrowser2_get_Path (pthis, Path) TO HRESULT
  FUNCTION = HRESULT
  Path = ACODE$(Path)

END FUNCTION
 

 

Visible

 

FUNCTION IWebBrowser2_get_Visible ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pBool AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[40] USING IWebBrowser2_get_Visible (pthis, pBool) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 


 

FUNCTION IWebBrowser2_put_Visible ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pBool AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[41] USING IWebBrowser2_put_Visible (pthis, pBool) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

StatusBar

 

FUNCTION IWebBrowser2_get_StatusBar ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pBool AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[42] USING IWebBrowser2_get_StatusBar (pthis, pBool) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 


 

FUNCTION IWebBrowser2_put_StatusBar ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pBool AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[43] USING IWebBrowser2_put_StatusBar (pthis, pBool) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

StatusText

 

FUNCTION IWebBrowser2_get_StatusText ( _
  BYVAL pthis AS DWORD PTR _
, BYREF StatusText AS STRING _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[44] USING IWebBrowser2_get_StatusText (pthis, StatusText) TO HRESULT
  FUNCTION = HRESULT
  StatusText = ACODE$(StatusText)

END FUNCTION

 


 

FUNCTION IWebBrowser2_put_StatusText ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL StatusText AS STRING _
  ) AS LONG

  LOCAL HRESULT AS LONG
  StatusText = UCODE$(StatusText)
  CALL DWORD @@pthis[45] USING IWebBrowser2_put_StatusText (pthis, StatusText) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

Toolbar

 

FUNCTION IWebBrowser2_get_ToolBar ( _
  BYVAL pthis AS DWORD PTR _
, BYREF Value AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[46] USING IWebBrowser2_get_ToolBar (pthis, Value) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 


 

FUNCTION IWebBrowser2_put_ToolBar ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL Value AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[47] USING IWebBrowser2_put_ToolBar (pthis, Value) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

MenuBar

 

FUNCTION IWebBrowser2_get_MenuBar ( _
  BYVAL pthis AS DWORD PTR _
, BYREF Value AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[48] USING IWebBrowser2_get_MenuBar (pthis, Value) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 


 

FUNCTION IWebBrowser2_put_MenuBar ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL Value AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[49] USING IWebBrowser2_put_MenuBar (pthis, Value) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

FullScreen

 

FUNCTION IWebBrowser2_get_FullScreen ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pbFullScreen AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[50] USING IWebBrowser2_get_FullScreen (pthis, pbFullScreen) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 


 

FUNCTION IWebBrowser2_put_FullScreen ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pbFullScreen AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[51] USING IWebBrowser2_put_FullScreen (pthis, pbFullScreen) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

Navigate2

 

FUNCTION IWebBrowser2_Navigate2 ( _
  BYVAL pthis AS DWORD PTR _
, BYREF URL AS VARIANT _
, BYREF Flags AS VARIANT _
, BYREF TargetFrameName AS VARIANT _
, BYREF PostData AS VARIANT _
, BYREF Headers AS VARIANT _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[52] USING IWebBrowser2_Navigate2 (pthis, URL, Flags, TargetFrameName, PostData, Headers) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

QueryStatusWB

 

FUNCTION IWebBrowser2_QueryStatusWB ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL cmdID AS LONG _
, BYREF pcmdf AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[53] USING IWebBrowser2_QueryStatusWB (pthis, cmdID, pcmdf) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

ExecWB

 

FUNCTION IWebBrowser2_ExecWB ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL cmdID AS LONG _
, BYVAL cmdexecopt AS LONG _
, BYREF pvaIn AS VARIANT _
, BYREF pvaOut AS VARIANT _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[54] USING IWebBrowser2_ExecWB (pthis, cmdID, cmdexecopt, pvaIn, pvaOut) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

ShowBrowserBar

 

FUNCTION IWebBrowser2_ShowBrowserBar ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pvaClsid AS VARIANT _
, BYREF pvarShow AS VARIANT _
, BYREF pvarSize AS VARIANT _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[55] USING IWebBrowser2_ShowBrowserBar (pthis, pvaClsid, pvarShow, pvarSize) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

ReadyState

 

FUNCTION IWebBrowser2_get_ReadyState ( _
  BYVAL pthis AS DWORD PTR _
, BYREF plReadyState AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[56] USING IWebBrowser2_get_ReadyState (pthis, plReadyState) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

Offline

 

FUNCTION IWebBrowser2_get_Offline ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pbOffline AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[57] USING IWebBrowser2_get_Offline (pthis, pbOffline) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 


 

FUNCTION IWebBrowser2_put_Offline ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pbOffline AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[58] USING IWebBrowser2_put_Offline (pthis, pbOffline) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

Silent

 

FUNCTION IWebBrowser2_get_Silent ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pbSilent AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[59] USING IWebBrowser2_get_Silent (pthis, pbSilent) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 


 

FUNCTION IWebBrowser2_put_Silent ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pbSilent AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[60] USING IWebBrowser2_put_Silent (pthis, pbSilent) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

RegisterAsBrowser

 

FUNCTION IWebBrowser2_get_RegisterAsBrowser ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pbRegister AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[61] USING IWebBrowser2_get_RegisterAsBrowser (pthis, pbRegister) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 


 

FUNCTION IWebBrowser2_put_RegisterAsBrowser ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pbRegister AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[62] USING IWebBrowser2_put_RegisterAsBrowser (pthis, pbRegister) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

RegisterAsDropTarget

 

FUNCTION IWebBrowser2_get_RegisterAsDropTarget ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pbRegister AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[63] USING IWebBrowser2_get_RegisterAsDropTarget (pthis, pbRegister) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 


 

FUNCTION IWebBrowser2_put_RegisterAsDropTarget ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pbRegister AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[64] USING IWebBrowser2_put_RegisterAsDropTarget (pthis, pbRegister) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

TheaterMode

 

FUNCTION IWebBrowser2_get_TheaterMode ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pbRegister AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[65] USING IWebBrowser2_get_TheaterMode (pthis, pbRegister) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 


 

FUNCTION IWebBrowser2_put_TheaterMode ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pbRegister AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[66] USING IWebBrowser2_put_TheaterMode (pthis, pbRegister) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

AddressBar

 

FUNCTION IWebBrowser2_get_AddressBar ( _
  BYVAL pthis AS DWORD PTR _
, BYREF Value AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[67] USING IWebBrowser2_get_AddressBar (pthis, Value) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 


 

FUNCTION IWebBrowser2_put_AddressBar ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL Value AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[68] USING IWebBrowser2_put_AddressBar (pthis, Value) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

Resizable

 

FUNCTION IWebBrowser2_get_Resizable ( _
  BYVAL pthis AS DWORD PTR _
, BYREF Value AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[69] USING IWebBrowser2_get_Resizable (pthis, Value) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 


 

FUNCTION IWebBrowser2_put_Resizable ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL Value AS INTEGER _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[70] USING IWebBrowser2_put_Resizable (pthis, Value) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION
 

 

Page last updated on Wednesday, 15 February 2006 22:23:58 +0100