Home COM GDI+ WebBrowser Data Access

IHTMLEditServices2 Interface

 

IID_IHTMLEditServices2

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

 

 

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

 

Documentation: IHTMLEditServices2 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.

IHTMLEditServices2 Methods

Description

MoveToSelectionAnchorEx

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

MoveToSelectionEndEx

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

FreezeVirtualCaretPos

Anchors the virtual caret's position at the current position of the real caret or virtual caret.

UnFreezeVirtualCaretPos

Restores control of the virtual caret position to the MSHTML Editor after a previous call to IHTMLEditServices2::FreezeVirtualCaretPos.

 

AddDesigner

 

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

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

END FUNCTION

 

 

RemoveDesigner

 

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

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

END FUNCTION

 

 

GetSelectionServices

 

FUNCTION IHTMLEditServices2_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 IHTMLEditServices2_GetSelectionServices (pthis, pIContainer, ppSelSvc) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

MoveToSelectionAnchor

 

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

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

END FUNCTION

 

 

MoveToSelectionEnd

 

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

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

END FUNCTION

 

 

SelectRange

 

FUNCTION IHTMLEditServices2_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 IHTMLEditServices2_SelectRange (pthis, pStart, pEnd, eType) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

MoveToSelectionAnchorEx

 

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

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

END FUNCTION

 

 

MoveToSelectionEndEx

 

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

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

END FUNCTION

 

 

FreezeVirtualCaretPos

 

FUNCTION IHTMLEditServices2_FreezeVirtualCaretPos ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL fRecompute AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[11] USING IHTMLEditServices2_FreezeVirtualCaretPos (pthis, fRecompute) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

UnFreezeVirtualCaretPos

 

FUNCTION IHTMLEditServices2_UnFreezeVirtualCaretPos ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL fReSet AS DWORD _
  ) AS LONG

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

END FUNCTION

 

 

Page last updated on Monday, 03 April 2006 19:57:02 +0200