TE Edit Control Win32 / Win64 Help
Product page

TerGetPagePos

Get the current page number and the display offset.

BOOL TerGetPagePos(hWnd, page, y)
HWND hWnd;The handle of the window to be accessed
LPINT page;This variable receives the current page number
LPINT y;This variable receives the offset of the top of the window relative to the top of the page. This value is returned in twips unit.

Return Value: This function returns TRUE when successful.