ITfContextOwner interface (msctf.h)
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.
Inheritance
The ITfContextOwner interface inherits from the IUnknown interface. ITfContextOwner also has these types of members:
Methods
The ITfContextOwner interface has these methods.
ITfContextOwner::GetACPFromPoint The ITfContextOwner::GetACPFromPoint method converts a point in screen coordinates to an application character position. |
ITfContextOwner::GetAttribute The ITfContextOwner::GetAttribute method returns the value of a supported attribute. If the attribute is unsupported, the pvarValue parameter is set to VT_EMPTY. |
ITfContextOwner::GetScreenExt The ITfContextOwner::GetScreenExt method returns the bounding box, in screen coordinates, of the display surface where the text stream is rendered. |
ITfContextOwner::GetStatus The ITfContextOwner::GetStatus method obtains the status of a document. The document status is returned through the TS_STATUS structure. |
ITfContextOwner::GetTextExt The ITfContextOwner::GetTextExt method returns the bounding box, in screen coordinates, of the text at a specified character position. The caller must have a read-only lock on the document before calling this method. |
ITfContextOwner::GetWnd The ITfContextOwner::GetWnd method returns the handle to a window that corresponds to the current document. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | msctf.h |
Redistributable | TSF 1.0 on Windows 2000 Professional |