指定された座標にキャレットを移動する
Declare Function SetCaretPos Lib "user32.dll" _
(ByVal x As Long, ByVal y As Long) As Long
Declare Function SetCaretPos Lib "user32.dll" _
(ByVal x As Integer, ByVal y As Integer) As Integer
BOOL SetCaretPos(
int X,
int Y
);
引数
x
x座標y
y座標戻り値
正常終了のとき 0以外備考
エラーのとき 0
キャレットが非表示のときにもキャレットを移動できる
拡張エラー情報を取得するには、GetLastError()関数を使う