ITfContextOwner Interface
ITfContextOwner Interface

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.

MethodDescription

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

ClientRequires Windows XP, Windows 2000 Professional, or Windows NT Workstation.
RedistributableRequires TSF 1.0 on Windows NT 4.0, Windows 2000 Professional and Windows MeWindows 98.
HeaderDeclared in Msctf.idl and Msctf.h.
DLLRequires Msimtf.dll.

See Also

ITfSource::AdviseSink


Send comments about this topic to Microsoft

Build date: 12/17/2008

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
Page view tracker