ITextHost::TxClientToScreen method (textserv.h)

Converts text host coordinates to screen coordinates.

Syntax

BOOL TxClientToScreen(
  [in] LPPOINT lppt
);

Parameters

[in] lppt

Type: LPPOINT

The client coordinates to convert.

Return value

Type: BOOL

Return TRUE if the method succeeds.

Return FALSE if the method fails.

Remarks

This call is valid at any time, although it is allowed to fail. In general, if the text services object needs to translate from client coordinates (for example, for the TOM GetPoint method) the text services object is visible.

However, if no conversion is possible, then the method 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