IHTMLCaret interface
Provides methods that control the insertion point (caret) in the editor.
Members
The IHTMLCaret interface inherits from the IUnknown interface. IHTMLCaret also has these types of members:
Methods
The IHTMLCaret interface has these methods.
| Method | Description |
|---|---|
| GetCaretDirection |
Gets a value that indicates which direction is defined as the forward direction of the insertion point. |
| GetLocation |
Gets the horizontal and vertical coordinates, in pixels, of the location of the insertion point. |
| Hide |
Makes the insertion point invisible. |
| InsertText |
Inserts text at the position of the insertion point. |
| IsVisible |
Determines whether the insertion point is visible on the screen. |
| MoveCaretToPointerEx |
Moves the insertion point position to the position of a display pointer, and makes the insertion point visible or invisible. |
| MoveDisplayPointerToCaret |
Moves a display pointer to the position of the insertion point. |
| MoveMarkupPointerToCaret |
Moves a markup pointer to the position of the insertion point. |
| ScrollIntoView |
Scrolls the insertion point into view. |
| SetCaretDirection |
Specifies which direction is defined as the forward direction of the insertion point. |
| Show |
Makes the insertion point visible. |
Requirements
|
Minimum supported client |
Windows XP |
|---|---|
|
Minimum supported server |
Windows 2000 Server |
|
Header |
|
|
IDL |
|
|
DLL |
|