Provides methods that enable the user to work with display pointers and the insertion point as they relate to the on-screen layout.
CreateDisplayPointer Creates a new IDisplayPointer interface for marking locations in a document or container. GetCaret Gets an IHTMLCaret interface that specifies the insertion point in an HTML document. GetComputedStyle Gets the rendered style, such as bold, italic, and so on, for the element containing a markup pointer. HasFlowLayout Gets a value that indicates whether an element is a flow layout element. ScrollRectIntoView Scrolls a specific rectangular region into view on the display. TransformPoint Changes a point's relative frame of reference from one coordinate system to another. TransformRect Changes a rectangle's relative frame of reference from one coordinate system to another.
IDisplayServices and IDisplayPointer work with markup pointers ( IMarkupServices2, IMarkupContainer2, and IMarkupPointer2) to provide editing control that includes information about how a document is rendered on the screen, and the horizontal and vertical positioning of elements and lines of text. By using these interfaces, you can translate a user's on-screen input, such as a mouse click near a line of text, into editing operations.
Stock Implementation mshtml.dll Custom Implementation No Inherits from IUnknown Header and IDL files mshtml.h, mshtml.idl Minimum availability Internet Explorer 5.5 Minimum operating systems Windows 95, Windows NT 4.0, Windows CE 4.0