TE Edit Control Win32 / Win64 Help
Product page

TerPosLineAtTop

Position the specified line at the top or middle of the window.

BOOL TerPosLineAtTop (hWnd, LineNo, WinTop)
HWND hWnd;Handle of the window to be accessed
long LineNo;Line number to position at
BOOL WinTop;TRUE to position the specified line at the top of the window, FALSE to position the line at the middle of the window.

Return Value: This function returns a TRUE value when successful.