CEdit::GetLine

Call this member function to retrieve a line of text from an edit control and place it in lpszBuffer. This call is not processed for a single-line edit control.

The copied line does not contain a null-termination character.

Syntax

int GetLine( int nIndex, LPTSTR lpszBuffer ) const;

int GetLine( int nIndex, LPTSTR lpszBuffer, int nMaxLength ) 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::LineLength, CWnd::GetWindowText