Jeremy Coulter wrote:
> I am in the middle of writting a control to display Unicode.
> I have had to in the end write my own control to do this,
> which is ok, but, I have a question. Is there a way to get
> some text at a point on the screen ? i.e. where the mouse is?
Jeremy,
I know you can do it. I did it before for reading of the captions from a
descendant of a treeview component embedded in IE. The problem is I do not
remember how I did it.
All I remember is that I read the coordinates of mouse pointer on the screen
and then, I believe, I had to calculate the rectangle area from which I
needed to read the text.
But have a look at ClientToScreen and ScreenToClient for a start.
I could probably dig up some old code. Tell me if you need it (it would have
to be tomorrow).
Best regards,
Sergei
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"