K
kurotsuke
Hi,
I need to know the position (X, Y cohordinates) of the caret. I'm
using the function:
[DllImport("user32.dll")]
private static extern int GetCaretPos(ref POINT lpPoint);
I'm actually getting a result but I think that refers to the
cohordinates of the Textbox the caret is in and not the screen
cohordinates.
I need a global cohordinate since I want to show a window at that
position.
Moreover, I'd need to find the position of the caret not for my
application window but for the current active application.
Thanks.
I need to know the position (X, Y cohordinates) of the caret. I'm
using the function:
[DllImport("user32.dll")]
private static extern int GetCaretPos(ref POINT lpPoint);
I'm actually getting a result but I think that refers to the
cohordinates of the Textbox the caret is in and not the screen
cohordinates.
I need a global cohordinate since I want to show a window at that
position.
Moreover, I'd need to find the position of the caret not for my
application window but for the current active application.
Thanks.