MFC
Expand Minimize
This topic has not yet been rated - Rate this topic

CRichEditCtrl::PosFromChar 

Retrieves the client area coordinates of a specified character in an edit control.


CPoint PosFromChar(
   UINT nChar 
) const;

Parameters

nChar

The zero-based index of the character.

The position of the character, (x, y). For a single-line edit control, the y-coordinate is always zero.

For more information, see EM_POSFROMCHAR in the Platform SDK.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.