TerPageFromLine
Retrieve the page number containing the given line.
int TerPageFromLine(hWnd,LineNo)
HWND hWnd; | Handle of the window to be accessed |
long LineNo; | Line number (0 to TotalLines - 1) |
Return Value: This function returns the page number that contains the given text line number. A value of -1 indicates an error condition.