This method retrieves 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.
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 GetLine( int nIndex, LPTSTR lpszBuffer ) const;
int GetLine( int nIndex, LPTSTR lpszBuffer, int nMaxLength ) const;
CEdit::LineLength, CWnd::GetWindowText