[DllImport("user32.dll")]
static extern bool GetCaretPos(out Point lpPoint);
Private Declare Function GetCaretPos Lib "user32" (ByRef lpPoint As Point) As Integer
None.
None.
Please add some!
Dim pt As Point
GetCaretPos(pt)
Debug.Write(String.Format("Caret position: {0}, {1}", pt.X, pt.Y))
Do you know one? Please contribute it!
- try GetCursorPos to get the cursor position