Text Services Framework
ITfContextOwner
The ITfContextOwner interface is implemented by an application or a text service to receive text input without having a text store. An instance of this interface is obtained when the application calls the
ITfSource::AdviseSink method.
Methods in Vtable Order
The ITfContextOwner interface inherits the methods of the standard COM interface IUnknown.
In addition, ITfContextOwner defines the following methods.
| ITfContextOwner methods | Description |
| GetACPFromPoint | Converts a point, in screen coordinates, to an application character position. |
| GetTextExt | Returns the bounding box, in screen coordinates, of the text at a specified character position. |
| GetScreenExt | Returns the bounding box, in screen coordinates, of the display surface where the text stream is rendered. |
| GetStatus | Obtains the status of a document. |
| GetWnd | Returns the handle to a window that corresponds to the current document. |
| GetAttribute | Returns the value of a supported attribute. |
Windows NT/2000/XP: Included in Windows XP.
Redistributable: Requires TSF 1.0 on Windows NT 4.0; Windows 2000; and Windows 98/Me.
Header: Declared in Msctf.idl and Msctf.h.
Library: Included as a resource in Msctf.dll.
See Also
ITfSource::AdviseSink