Call this member function to retrieve the line number of the line that contains the specified character index. A character index is the number of characters from the beginning of the edit control.
This member function is only used by multiple-line edit controls.
int LineFromChar( int nIndex = –1 ) const;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CEdit Overview, CEdit Member Functions, Control Classes, CEdit::LineIndex