CEdit::LineFromChar

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.

At a Glance

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

Syntax

int LineFromChar( int nIndex = 1 ) const;

See Also

CEdit::LineIndex