SetCaretPos function user32

int SetCaretPos(
  1. int X,
  2. int Y
)

Moves the caret to the specified coordinates. If the window that owns the caret was created with the CS_OWNDC class style, then the specified coordinates are subject to the mapping mode of the device context associated with that window.

BOOL SetCaretPos(
  int X,
  int Y
);

Implementation

int SetCaretPos(int X, int Y) => _SetCaretPos(X, Y);