I need to write a DLL in PBDLL 5.0 that will capture a mousemove event regardless of where it happens.
The idea is this: I call a proc in the DLL from VB that will start a timer in the DLL. The DLL should be able to capture a mousemove event regardless of where it happens in Windows, when this happens the timer is reset. If no mousemove event has occurred when the timer fires, the DLL calls a VB proc, using Call DWORD to notify that time is up. Hope this is clear.
Another query: I have been using SetTimer and KillTimer to do some things, but KillTimer does not seem to work e.g.
SetTimer 0, 6000, 5000, CodePtr(SubTest)
This creates the timer fine, but
KillTimer 0, 6000
this does not kill the timer at all!
Any ideas.
Thanks.
The idea is this: I call a proc in the DLL from VB that will start a timer in the DLL. The DLL should be able to capture a mousemove event regardless of where it happens in Windows, when this happens the timer is reset. If no mousemove event has occurred when the timer fires, the DLL calls a VB proc, using Call DWORD to notify that time is up. Hope this is clear.
Another query: I have been using SetTimer and KillTimer to do some things, but KillTimer does not seem to work e.g.
SetTimer 0, 6000, 5000, CodePtr(SubTest)
This creates the timer fine, but
KillTimer 0, 6000
this does not kill the timer at all!
Any ideas.
Thanks.
Comment