Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CRichEditCtrl::PosFromChar
Collapse the table of content
Expand the table of content

CRichEditCtrl::PosFromChar

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

CPoint PosFromChar( 
   UINT nChar  
) const;

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 Windows SDK.

Header: afxcmn.h

Show:
© 2015 Microsoft