SECEdit::GetLine
intSECEdit::GetLine(intnLine, CString&strLine, LPCTSTR&lpszLine)
Retrieves the text of the given line.
Defined in: SECEdit.cpp
Parameters
nLine
The line index to retrieve.
strLine
Output parameter. References a string object to contain the text.
lpszLine
Output parameter. Points to a buffer to hold the text.
Comments
A valid text buffer pointer will always be returned through the parameter reference, but a CString may not always be assigned. When retrieving a block of text from the edit buffer, a text buffer is first requested. If this is not possible (for example, if the implementation of the text buffer is such that the text ranges over two separate areas in memory), then a CString is constructed, and the LPCTSTR returned is a cast of the CString to LPCTSTR.Returns the number of visible characters on the line.
See Also