CEdit::PosFromChar

This method retrieves the position of the top-left corner of a specified character within this CEdit object. The character is specified by giving its zero-based index value. If nChar is greater than the index of the last character in this CEdit object, the return value specifies the coordinates of the character position just past the last character in this CEdit object.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

CPoint PosFromChar( UINT nChar ) const;

See Also

CEdit::CharFromPos