Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The IAnchor::ShiftTo method shifts the current anchor to the same position as another anchor.
Syntax
HRESULT ShiftTo(
[in] IAnchor *paSite
);
Parameters
[in] paSite
Anchor occupying a position that the current anchor will be moved to.
Return value
This method can return one of these values.
| Value | Description |
|---|---|
|
The method was successful. |
|
An IAnchor interface pointer to the paSite anchor could not be obtained, or memory is too low to safely complete the operation. |
|
paSite is invalid. |
Remarks
Implementing this method is usually more efficient than an equivalent IAnchor::Shift operation.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | textstor.h |
| DLL | Msctf.dll |
| Redistributable | TSF 1.0 on Windows 2000 Professional |