Solved

How to recognise a word on screen?

Posted on 1998-12-01
3
148 Views
Last Modified: 2010-04-02
I want to recognise word on screen, then I can translate it.
0
Comment
Question by:wangtu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
alexo earned 200 total points
ID: 1179060
Are you trying to accomplish something like Babylon does?  In the general case, it is very difficult.  The only thing you can lift from the screen is a bitmap.  You have to use a character recognition engine to interpret it.  However, if you limit yourself to edit controls, you can use the EM_CHARFROMPOS message.
0
 

Author Comment

by:wangtu
ID: 1179061
not only Edit control,  also in menu ,statusbar, etc
0
 
LVL 11

Expert Comment

by:alexo
ID: 1179062
Then you have to use an OCR engine (and those are a hell to write).
Windows just doesn't have the functionality.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question