473,387 Members | 1,864 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,387 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 14003
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.