TMemo: How can i get the caret x/y pos. into client x/y pos. ?




Hi,

I would like to determine if, when i mouseclick on a Memo,
i click 'inside' or 'outside' the text...

Therefor, i would like to compare the mouse x/y position ( pixels values )
with the caret x/y position ( line#,char# values)...

How can i convert line#,Char# back to x,y ?

Thanks for your inputs,
Eddy.




.