ITextHost::TxScreenToClient method (textserv.h)

Converts the screen coordinates to the text host window coordinates.

Syntax

BOOL TxScreenToClient(
  [in] LPPOINT lppt
);

Parameters

[in] lppt

Type: LPPOINT

The screen coordinates to convert.

Return value

Type: BOOL

Return TRUE if the call succeeds.

Return FALSE if the call fails.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header textserv.h
DLL Msftedit.dll

See also

ITextHost

Windowless Rich Edit Controls Overview