@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The GetCaretPos API !!!!C# Signature: [DllImport("user32.dll")] static extern bool GetCaretPos(out Point lpPoint); !!!!VB.NET Signature: Private Declare Function GetCaretPos Lib "user32" (ByRef lpPoint As Point) As Integer !!!!User-Defined Types: None. !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Dim pt As Point GetCaretPos(pt) Debug.Write(String.Format("Caret position: {0}, {1}", pt.X, pt.Y)) !!!!Alternative Managed API: Do you know one? Please contribute it! - try GetCursorPos to get the cursor position Documentation: GetCaretPos@msdn on MSDN
Edit user32.GetCaretPos
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.