CEdit::PosFromChar

Call this member function to retrieve the position of the top-left corner of a given 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.

Syntax

CPoint PosFromChar( UINT nChar ) const;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CEdit Overview, CEdit Member Functions, Control Classes, CEdit::CharFromPos