| | |
Monitoring the mouse
![]() |
•
•
Join Date: Sep 2006
Posts: 36
Reputation:
Solved Threads: 1
I suppose it's about time I ASKED a question for a change.
I'm attempting to write a program that records the location of the mouse cursor every time it is clicked. Getting the location of the cursor at any given moment is simple. However, knowing WHEN to get that location is another matter entirely. In order to do what I'm attempting to do, I need to know every time the mouse is clicked, no matter what window or area of the screen it happens to be in at the time. Once I have that covered, I can handle the rest easily.
I thought a similar question had been asked in here once already, but as I can't find it again, I'm posing my variation now. Hopefully someone out there knows the answer and it will be immortalized here for all time. ^.=.^
- Sen
I'm attempting to write a program that records the location of the mouse cursor every time it is clicked. Getting the location of the cursor at any given moment is simple. However, knowing WHEN to get that location is another matter entirely. In order to do what I'm attempting to do, I need to know every time the mouse is clicked, no matter what window or area of the screen it happens to be in at the time. Once I have that covered, I can handle the rest easily.
I thought a similar question had been asked in here once already, but as I can't find it again, I'm posing my variation now. Hopefully someone out there knows the answer and it will be immortalized here for all time. ^.=.^
- Sen
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
•
•
Join Date: Sep 2006
Posts: 36
Reputation:
Solved Threads: 1
However, upon further inspection of the Windows API, an Opacity value can be simulated. Imma write a small control and post it on my website, with a link from here, because this is a COOL feature to have, and I think this might work. As long as the opacity isn't = 0, the mouse events get passed to the form.
Now I just have to figure out how to pass the events to whatever is directly below my form so as to keep the system working properly...
- Sen
Now I just have to figure out how to pass the events to whatever is directly below my form so as to keep the system working properly...
- Sen
![]() |
Similar Threads
- Mouse Movement is slow in VMware Guest OS (Windows NT / 2000 / XP)
- Wireless Mouse Issue (USB Devices and other Peripherals)
- remote monitoring software (C)
- Windows 98 says there's no mouse (Windows 95 / 98 / Me)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Please help me in making code for browsing button
- Next Thread: VBA Help
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






