Call this member function to retrieve the zero-based line and character indexes of the character nearest the specified point in this CEdit control.
int CharFromPos( CPoint pt ) const;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CEdit Overview, CEdit Member Functions, Control Classes, CEdit::PosFromChar