27
Feb
Feb
I want to record each click my mouse does into an integer, like i can call a “form1.click” event and increment it into a variable eg, count +=1. but this only works if i click in the form, i want the program to run in the background and record all clicks done while the computer is on, and not just the clicks i do on the form.
Answer:
You need to hook into system events to capture those. Read up on Platform Invoke (consuming Win32 API functions in .NET) and then read up on SetWindowsHookEx.
Here are a couple of links to show you how to code this up.
http://www.eggheadcafe.com/conversation….
http://www.codeproject.com/KB/system/glo…
Answer:
expert help
http://allexpert.info/
This entry was posted
on Friday, February 27th, 2009 at 2:46 pm and is filed under Programming.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or TrackBack URI from your own site.