|
-
August 13th, 2001, 02:51 PM
#1
capturing mouse evets
Is there any way to make it so that when i hit a button in my form that it can recod the mouse evets that i do in windows so that i can use them at a later time?
Kinda like ez macoes does.
Any imput on this would be geatly appreciated.
-
August 13th, 2001, 03:01 PM
#2
Re: capturing mouse evets
The "n" and "r" on my keyboard sticks so it should read like this:
Is there any way to make it so that when i hit a button in my form that it can record the mouse events that i do in windows so that i can use them at a later time?
Kinda like ez macoes does.
Any imput on this would be geatly appreciated.
-
August 14th, 2001, 02:47 AM
#3
Re: capturing mouse evets
Ez Macros uses a Windows Hook ( specifically the WH_JOURNALRECORD hook ) to record the mouse and keyboard events and then it uses a WH_JOURNALPLAYBACK hook to play back the messages when the macro is run.
You can find documentation on both of these hooks at http://msdn.microsoft.com but I have not seen a Visual Basic example as yet.
HTH,
Duncan
-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
Check out the new downloads - ImageMap.ocx is the VB control that emulates an HTML image map, EventVB.OCX for adding new events to your VB form and adding System Tray support simply, MCL Hotkey for implemenmting system-wide hotkeys in your application...all with source code included.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|