SECEdit::ConvertColumn

Converts the given column offset on a line to an actual offset.

Defined in: SECEdit.cpp

Syntax

int SECEdit::ConvertColumn(int nCol, BOOL bConversionType, LPCTSTR lpszLine, int *pScreenCol) const

int SECEdit::ConvertColumn(int nCol, BOOL bConversionType, int nLine, int *pScreenCol) const

Return Value

Returns the actual offset.

Parameters

nCol

The column offset to be converted.

bConversionType

Either SECEDIT_SCREEN_TO_TRUE or SECEDIT_TRUE_TO_SCREEN

lpszLine

The text on the line.

pScreenCol

Points to a screen column.

nLine

The line number of the text.