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.
int GetLine( int nIndex, LPTSTR lpszBuffer ) const;
int GetLine( int nIndex, LPTSTR lpszBuffer, int nMaxLength ) const;
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CEdit Overview, CEdit Member Functions, Control Classes, CEdit::LineLength, CWnd::GetWindowText