ITfContextView::GetScreenExt method (msctf.h)

The ITfContextView::GetScreenExt method returns the bounding box, in screen coordinates, of the document display.

Syntax

HRESULT GetScreenExt(
  [out] RECT *prc
);

Parameters

[out] prc

Receives the bounding box, in screen coordinates, of the display surface.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.

Remarks

The prc parameter is cleared to {0,0,0,0} if the document is not currently displayed.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header msctf.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITextStoreACP::GetScreenExt

ITfContextOwner::GetScreenExt

ITfContextView

TsViewCookie