ITfContextView interface
The ITfContextView interface is implemented by the TSF manager and used by a client (application or text service) to obtain information about a context view. Clients obtain this interface by calling the ITfContext::GetActiveView method which returns a pointer to the ITfContextView object.
Members
The ITfContextView interface inherits from the IUnknown interface. ITfContextView also has these types of members:
Methods
The ITfContextView interface has these methods.
| Method | Description |
|---|---|
| GetRangeFromPoint |
Converts a point, in screen coordinates, to an empty range positioned at a corresponding location. |
| GetScreenExt |
Returns the bounding box of the display surface. |
| GetTextExt |
Returns the bounding box, in screen coordinates, of a range of text. |
| GetWnd |
Returns an HWND that corresponds to the document, if one exists. |
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps | Windows Store apps] |
|
Redistributable |
TSF 1.0 on Windows 2000 Professional |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also