Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mouse Moved?
Message
From
29/11/2001 07:42:26
 
 
To
29/11/2001 04:57:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00587356
Message ID:
00587404
Views:
41
This message has been marked as a message which has helped to the initial question of the thread.
Have a look at the sleep function in win api section
If you put a .25 seond sleep in your do loop it will release your processor workload

AFAIK there is no way to wait for a mousemove (like a screensaver) in 1 VFP command

Will

>Hi Peter
>
>Thanks, but the MDOWN() function only tells me if the mouse button is down. I need to pause the program until a user press' a key, clicks a button, *or* moves the mouse. INKEY() will trap for the first two cases but what can I use to wait for a mouse move?
>
>I can put a test in a DO WHILE loop looking for a change in mouse position but this runs at 100% processor usage. Ideally this should be an INKEY() type of wait which does not run up processor usage.
>
>Thanks
>
>Jos
Will Jones
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform