Home COM GDI+ WebBrowser Data Access

IHTMLEditServices Interface

 

IID_IHTMLEditServices

{3050F663-98B5-11CF-BB82-00AA00BDCE0B}

 

 

This interface provides methods that enable you to add or remove edit designers and control the current selection.

 

Documentation: IHTMLEditServices Interface

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IHTMLEditServices Methods

Description

AddDesigner

Registers an IHTMLEditDesigner interface to receive event notification from the editor.

RemoveDesigner

Stops an IHTMLEditDesigner interface from receiving further event notification from the editor.

GetSelectionServices

Retrieves an ISelectionServices interface for a markup container.

MoveToSelectionAnchor

Moves a markup pointer to the location of the current selection's anchor.

MoveToSelectionEnd

Moves a markup pointer to the current selection's end.

SelectRange

Undocumented.

 

AddDesigner

 

FUNCTION IHTMLEditServices_AddDesigner ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pIDesigner AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IHTMLEditServices_AddDesigner (pthis, pIDesigner) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

RemoveDesigner

 

FUNCTION IHTMLEditServices_RemoveDesigner ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pIDesigner AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING IHTMLEditServices_RemoveDesigner (pthis, pIDesigner) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetSelectionServices

 

FUNCTION IHTMLEditServices_GetSelectionServices ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pIContainer AS DWORD _
, BYREF ppSelSvc AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[5] USING IHTMLEditServices_GetSelectionServices (pthis, pIContainer, ppSelSvc) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

MoveToSelectionAnchor

 

FUNCTION IHTMLEditServices_MoveToSelectionAnchor ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pIStartAnchor AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[6] USING IHTMLEditServices_MoveToSelectionAnchor (pthis, pIStartAnchor) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

MoveToSelectionEnd

 

FUNCTION IHTMLEditServices_MoveToSelectionEnd ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pIEndAnchor AS DWORD _
  ) AS LONG

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

END FUNCTION

 

 

SelectRange

 

FUNCTION IHTMLEditServices_SelectRange ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pStart AS DWORD _
, BYVAL pEnd AS DWORD _
, BYVAL eType AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[8] USING IHTMLEditServices_SelectRange (pthis, pStart, pEnd, eType) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Monday, 03 April 2006 19:56:53 +0200