ITfContextOwner::GetScreenExt method (msctf.h)
The ITfContextOwner::GetScreenExt method returns the bounding box, in screen coordinates, of the display surface where the text stream is rendered.
Syntax
HRESULT GetScreenExt(
[out] RECT *prc
);
Parameters
[out] prc
Receives the bounding box screen coordinates of the display surface of the document.
Return value
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
Remarks
If the text is not currently displayed, for example if the document window is minimized, prc is set to { 0, 0, 0, 0 }.
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 |
DLL | Msimtf.dll |
Redistributable | TSF 1.0 on Windows 2000 Professional |