IAnchor::ShiftRegion method (textstor.h)
Shifts the anchor into an adjacent region in the text stream.
Syntax
HRESULT ShiftRegion(
[in] DWORD dwFlags,
[in] TsShiftDir dir,
[out] BOOL *pfNoRegion
);
Parameters
[in] dwFlags
Bitfields that are used to control anchor repositioning around hidden text, or to avoid actual repositioning of the anchor.
[in] dir
Contains one of the TsShiftDir values that specifies which adjacent region the anchor is moved to.
[out] pfNoRegion
Boolean value that specifies whether a shift of the anchor occurred.
Value | Meaning |
---|---|
|
The shift failed, and the anchor was not repositioned. |
|
The shift succeeded. |
Return value
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
|
The shift failed. |
|
An input parameter value is invalid. |
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 |