SECEdit::Insert

Inserts text into the the text buffer at the specified position.

Defined in: SECEdit.cpp

Syntax

BOOL SECEdit::Insert(int nLine, int nCol, LPCTSTR lpszText, int nLength, int* pEndLine, int* pEndCol)

BOOL SECEdit::Insert(SECEditLineColPair& lcpInsertBlock, LPCTSTR lpszText, int nLength /* = -1 */)

Return Value

Returns non-zero if the operation was successful; otherwise zero.

Parameters

lcpInsertBlock

LineColPair describing the insert location

nLine

The line index to insert text.

nCol

The column index to insert text.

lpszText

Points to the text to insert.

nLength

The number of characters in the text to insert.

See Also

SECEdit