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

Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
RedistributableTSF 1.0 onWindows NT 4.0,Windows 2000 ProfessionalandWindows MeWindows 98
HeaderMsctf.idl and Msctf.h
DLLMsimtf.dll

See Also

ITfSource::AdviseSink

Send comments about this topic to Microsoft

Build date: 7/14/2009

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