SECEdit::GetTextBlock

Retrieves the block of text between by two positions.

Defined in: SECEdit.cpp

Syntax

int SECEdit::GetTextBlock(LPCTSTR& lpszBlock, int nStartLine, int nStartCol, int nEndLine, int nEndCol) const

BOOL SECEdit::GetTextBlock(CString& strBlock, int nStartLine, int nStartCol, int nEndLine, int nEndCol) const

Return Value

Returns non-zero if successful; otherwise 0.

Parameters

lpszBlock

Text buffer reference to be assigned.

strBlock

Text string reference to be assigned.

nStartLine

The starting line index.

nStartCol

The starting column index on the starting line.

nEndLine

The ending line index.

nEndCol

The ending column index on the ending line.

See Also

SECEdit  ClearTextBlock