ITextHost::TxClientToScreen method

Converts text host coordinates to screen coordinates.

Syntax


BOOL TxClientToScreen(
  [in] LPPOINT lppt
);

Parameters

lppt [in]

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Textserv.h

DLL

Msftedit.dll

See also

ITextHost
Windowless Rich Edit Controls Overview

 

 

Show: