 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Sun Nov 26, 2006 11:29 pm Post subject: Hooking TextOut, ExtTextOut, DrawText for selected screen ar |
|
|
I am trying to write an app that will capture text from a selected area
of the screen to be used as text in another app.
I have had two attempts now...
1st - Used WM_GETTEXT but this wouldnt find the text that was needed as
there was no visible handle to the grid that the text was contained in.
2nd - Used Canvas.CopyRect to copy a selected area of the desktop but
that obviously returns an image - was going to use an ocr component to
read text.
I have tried a piece of software that will do this by "Hooking the
TextOut /ExtTextOut /DrawText APIs" but would like to write the
function into my own software.
Any ideas on hooking these APIs for a selected part of the screen?
Thanks in advance, Gavin |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|