TE Edit Control Win32 / Win64 Help
Product page

TerRowColToAbs

Convert the given line/row position to the character position.

long TerRowColToAbs(hWnd, row, col)
HWND hWnd;The handle of the window to be accessed.
long row;text line number. The text line number must be between 0 and TotalLines - 1.
int col;text column position. The text column position must be between 0 and line length minus 1.

Description: This function translates the text position given in line number and column number to the character position from the beginning of the file.

Return Value: The function returns the text position from the beginning of the file.