Caret position

patch

Member³
Hi,

I am working on an extension for one of my plugins. I want to display a small popup window underneath the current carret position. The way the Code Assistent shows up when invoked.
I can find the current caret position, but this is not the pixel (XY) position. Is there a way I can find this position?
Any help will be greatly appreciated.

 
I solved my issue using this code:
GetCaretPos(ptClient);
FindControl(IDE_GetEditorHandle).Perform(EM_POSFROMCHAR
,WPARAM(@ptClient)
,IDE_GetCursorX);
Thanks for the help.
 
Back
Top