|
|
|
IMarkupPointer Interface |
|
IID_IMarkupPointer |
{3050F49F-98B5-11CF-BB82-00AA00BDCE0B} |
|
This interface, along with the IMarkupServices interface, allows the contents of the page to be programmatically manipulated from your C++ program.
|
|
Methods in VTable order |
|
|
IUnknown Methods |
Description |
|
QueryInterface |
Returns pointers to supported interfaces. |
|
AddRef |
Increments reference count. |
|
Release |
Decrements reference count. |
|
IMarkupPointer Methods |
Description |
|
OwningDoc |
Retrieves the top-level document associated with this object. |
|
Gravity |
Retrieves the gravity attribute of this pointer. |
|
SetGravity |
Sets the gravity attribute of this pointer. |
|
Cling |
Retrieves the cling attribute for this markup pointer. |
|
SetCling |
Sets or resets the cling attribute of a markup pointer. |
|
Unposition |
Resets the position of the pointer. |
|
IsPositioned |
Checks the position of the pointer. |
|
GetContainer |
Retrieves the container associated with this markup pointer. |
|
MoveAdjacentToElement |
Moves the pointer adjacent to an element. |
|
MoveToPointer |
Moves this pointer to another pointer's location. |
|
MoveToContainer |
Moves the pointer to a markup container. |
|
Left |
Inspects the content of the container to the left of the markup pointer and optionally moves the pointer one position to the left. |
|
Right |
Inspects the content of the container to the right of the markup pointer and optionally moves the pointer one position to the right. |
|
CurrentScope |
Retrieves the IHTMLElement positioned in this pointer. |
|
IsLeftOf |
Checks to see whether this pointer's position is to the left of another pointer's position. |
|
IsLeftOfOrEqualTo |
Checks to see whether this pointer's position is to the left of or is equal to another pointer's position. |
|
IsRightOf |
Checks to see whether this pointer's position is to the right of another pointer's position. |
|
IsRightOfOrEqualTo |
Checks to see whether this pointer's position is to the right of or is equal to another pointer's position. |
|
IsEqualTo |
Checks to see whether this pointer's position is equal to another pointer's position. |
|
MoveUnit |
Moves the pointer one unit. |
|
FindText |
Searches for specified text, from the current pointer's position to another pointer's position. |
|
OwningDoc |
|
FUNCTION
IMarkupPointer_OwningDoc ( _ |
|
Gravity |
|
FUNCTION
IMarkupPointer_Gravity ( _ |
|
SetGravity |
|
FUNCTION
IMarkupPointer_SetGravity ( _ |
|
Cling |
|
FUNCTION
IMarkupPointer_Cling ( _ |
|
SetCling |
|
FUNCTION
IMarkupPointer_SetCling ( _ |
|
Unposition |
|
FUNCTION
IMarkupPointer_Unposition ( _ |
|
IsPositioned |
|
FUNCTION
IMarkupPointer_IsPositioned ( _ |
|
GetContainer |
|
FUNCTION
IMarkupPointer_GetContainer ( _ |
|
MoveAdjacentToElement |
|
FUNCTION
IMarkupPointer_MoveAdjacentToElement ( _ |
|
MoveToPointer |
|
FUNCTION
IMarkupPointer_MoveToPointer ( _ |
|
MoveToContainer |
|
FUNCTION
IMarkupPointer_MoveToContainer ( _ |
|
Left |
|
DECLARE FUNCTION Proto_IMarkupPointer_Left ( _
FUNCTION
IMarkupPointer_Left ( _ LOCAL pchText AS DWORD LOCAL bstrlen AS LONG CALL DWORD @@pthis[14] USING Proto_IMarkupPointer_Left (pthis, fMove, pContext, ppElement, pcch, pchText) TO HRESULT IF ISTRUE pchText THEN bstrlen = lstrlenW(BYVAL pchText) strText = PEEK$(pchText, bstrlen * 2) END IF CoTaskMemFree
pchText |
|
Right |
|
DECLARE FUNCTION Proto_IMarkupPointer_Right ( _
FUNCTION
IMarkupPointer_Right ( _ LOCAL pchText AS DWORD LOCAL bstrlen AS LONG CALL DWORD @@pthis[15] USING Proto_IMarkupPointer_Right (pthis, fMove, pContext, ppElement, pcch, pchText) TO HRESULT IF ISTRUE pchText THEN bstrlen = lstrlenW(BYVAL pchText) strText = PEEK$(pchText, bstrlen * 2) END IF CoTaskMemFree
pchText |
|
CurrentScope |
|
FUNCTION
IMarkupPointer_CurrentScope ( _ |
|
IsLeftOf |
|
FUNCTION
IMarkupPointer_IsLeftOf ( _ |
|
IsLeftOfOrEqualTo |
|
FUNCTION
IMarkupPointer_IsLeftOfOrEqualTo ( _ |
|
IsRightOf |
|
FUNCTION
IMarkupPointer_IsRightOf ( _ |
|
IsRightOfOrEqualTo |
|
FUNCTION
IMarkupPointer_IsRightOfOrEqualTo ( _ |
|
IsEqualTo |
|
FUNCTION
IMarkupPointer_IsEqualTo ( _ |
|
MoveUnit |
|
FUNCTION
IMarkupPointer_MoveUnit ( _ |
|
FindText |
|
FUNCTION
IMarkupPointer_FindText ( _
strFindText = UCODE$(strFindText) &
$NUL |
Page last updated on Monday, 03 April 2006 20:00:24 +0200