Home COM GDI+ WebBrowser Data Access

IHighlightSegment Interface

 

IID_IHighlightSegment

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

 

 

This interface enables you to control a highlighted section of a document.

 

This interface does not provide any methods of its own beyond those available from its parent interface, ISegment. It provides type checking for the segments added or moved from the highlighted sections through the IHighlightRenderingServices interface.

 

Documentation: IHighlightSegment Interface

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IHighlightSegment Method

Description

GetPointers

Positions markup pointers at the start and end of the selection segment.

 

GetPointers

 

FUNCTION IHighlightSegment_GetPointers ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pIStart AS DWORD _
, BYVAL pIEnd AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IHighlightSegment_GetPointers (pthis, pIStart, pIEnd) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

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