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
| Minimum supported client | Windows 2000 Professional |
| Minimum supported server | Windows 2000 Server |
| Redistributable | TSF 1.0 onWindows NT 4.0,Windows 2000 ProfessionalandWindows MeWindows 98 |
| Header | Msctf.idl and Msctf.h |
| DLL | Msimtf.dll |
See Also
-
ITfSource::AdviseSink
Send comments about this topic to Microsoft
Build date: 7/14/2009