Hi Rossum.
Thanks for your mail.
I think that GetFirstCharIndexOfCurrentLine() does not solve my problem.
Current line, is the line where the caret is located. However, if the text
has been scrolled using the default scrollbars, that could well be outside
the screen. I need to know the position of the screen window with respect to
my text document.
For instance, if I take the client coordinates (1,1), if there was a way to
know which character correspond to that position, that would do it.
Regards,
Fabio