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
The ITfContextOwner interface inherits the methods of the IUnknown interface.
In addition, ITfContextOwner defines the following methods.
| Method | 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.
|
Requirements
| Client | Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation. |
| Redistributable | Requires TSF 1.0 on Windows NT 4.0, Windows 2000 Professional and Windows MeWindows 98. |
| Header | Declared in Msctf.idl and Msctf.h. |
| DLL | Requires Msimtf.dll. |
See Also
ITfSource::AdviseSink
Send comments about this topic to Microsoft
Build date: 12/17/2008