SetTerCursorPos
Set the cursor position
BOOL SetTerCursorPos(hWnd, line, column, repaint)
HWND hWnd; | The handle of the window to be accessed |
long line; | new line position of the cursor. Set to -1 to position at the end of the document. |
int column; | new column position of the cursor |
BOOL repaint; | TRUE to refresh the window after this operation |
Description: Use this function to set the new cursor position.
To specify the absolute cursor position, set the 'column' argument to -1, and specify the absolute position using the 'line' argument.
Return Value: This function returns TRUE if successful.