i want to get text under mouse cursor in any window or window scren

  • Thread starter Thread starter mitendra
  • Start date Start date
M

mitendra

please give me information regarding this and help me to
build my dream project of dictionary for disable pepole
 
Mitendra,
Look for tooltip in MSDN or Google,

You get a bunch of information and it is easy to implement.

For a Start
Drag a Tooltipcontrol from the toolbox to your form.
Then you can enter in every control a tooltip text.
Cor
 
Unfortunately this is very difficult. You'd need to hook into all processes
and inject code into memory spaces, which isn't possible in any .NET
language.

You can extract the text from textboxes however.

If you were to do any word on the screen, then you'd need to take a picture
of the area under the mouse cursor and perfrom some sort of Character
Recognition (unreliable).

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit
 
Hello Every body
I am mit .I want to get the word under mouse cursor from any area of
code plz give me some tips or guide
plz
thansk in advance
 
* mitendra hello said:
I am mit .I want to get the word under mouse cursor from any area of
code plz give me some tips or guide

You can get text text of the control under the mouse pointer by
p/invoking:

'GetCursorPos'
'GetClassName'
'SendMessage'
'WM_GETTEXT'
'WM_GETTEXTLENGTH'
'WindowFromPoint'
 
Back
Top