473,327 Members | 1,976 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

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

please give me information regarding this and help me to
build my dream project of dictionary for disable pepole
Nov 20 '05 #1
5 13995
Cor
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
Nov 20 '05 #2
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
"mitendra" <mi**********@indiatimes.com> wrote in message
news:0a****************************@phx.gbl...
please give me information regarding this and help me to
build my dream project of dictionary for disable pepole

Nov 20 '05 #3
Hello,

"mitendra" <mi**********@indiatimes.com> schrieb:
please give me information regarding this and help me to
build my dream project of dictionary for disable pepole


You may want to translate the following VB6 sample:

http://www.blackbeltvb.com/free/classspy.htm

HTH,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet
Nov 20 '05 #4


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

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #5
* mitendra hello <mi**********@indiatimes.com> scripsit:
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'

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Deacon Sweeney | last post by:
Hi. I've embedded some buttons in a Text object, and I would like these buttons to perform a 'tear-off' of that line when clicked. That is, when the button is clicked, I would like a new Toplevel...
3
by: Csaba2000 | last post by:
I have set onmousedown to change the cursor, but this setting is ignored (IE 5.5; NN 6.1 on Win 2K Pro) until the mouse is either moved or the mouse button is released. On Opera 7.01, the setting...
1
by: Brami Yair | last post by:
Hi, below is example js: function SomeLongProcess() { for(var i=0;i<document.all.length;i++) document.all(i).style.cursor="wait"; // some long process here !!
6
by: Carlos García-Carazo | last post by:
Hello, I am working on a C# application for an industrial machine, using Windows Forms, where the user could look at the screen from a 90 degree rotated position, like he could turn the monitor...
2
by: KarenP | last post by:
In my Windows Forms application, while executing a process that takes some time, I am changing the cursor to the hourglass by setting Cursor.Current = Cursors.WaitCursor. This is working just...
2
by: Eitan | last post by:
Hello, I am creating a new window class based on CWnd. I am placing it on the View (CFormView). How can I get the notification or any other indication that the cursor/mouse is not on this...
5
by: Marcos Ribeiro | last post by:
Does anyone knows how to change the cursor when the mouse is over a selected text on a textbox or richtextbox? (similar effect on Window Wordpad) From IBeam to Arrow for drag & drop purpouses...
10
by: sagar | last post by:
hi everyone, i m having a problem with mouse events. any help related is apreciated. i m having a form in which i m having 2 buttons. and i m moving(draging) these buttons on run time using...
4
Eep²
by: Eep² | last post by:
I'm trying to change the Firefox extension Scrollbar Anywhere so the mouse cursor does not move when scrolling. Here's the code but I don't know what to change: // Constants const sbawLeftButton ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.