This method retrieves 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 method is only used by multiple-line edit controls.
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 |
int LineFromChar( int nIndex = –1 ) const;