CEdit::CharFromPos

Call this member function to retrieve the zero-based line and character indexes of the character nearest the specified point in this CEdit control.

Syntax

int CharFromPos( CPoint pt ) 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::PosFromChar