Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A real Timer
Message
From
02/09/1997 11:15:04
 
 
To
02/09/1997 11:10:41
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00048038
Message ID:
00048040
Views:
29
Hi Michel !

OK, you are right, but I see, that other application besides VFP still got
systemmessages because they run in the background independently the user actions.
My problem is, that I dont understand, why VFP stops NullEvent during some user actions.

BB

>>I am working on a timer solution. I have found that VFP timer control doesnot get event during long statements like SQL select,
>>and user actions (mousebutton down on window title etc.)
>>I wrote an fll, in which I use the NullEvent to check the elapsed time, and if an interval is over it fires a UDF. (Time resolution 1 sec) It works under normal VFP statements like SQL select (so it is good for animated thermobar bmp-s, which has no affects for the select performance - max 4 percent slower). But ...
>>VFP NullEvents doesnot come under some user actions. So, if user push down the mouse button my timer event isnot fired.
>
>In Windows, no matter what we'll do, we'll never be able to rely on something that will never miss one event. This is just the way Windows is.
>
>Many factors can affect that. Here, you have SQL. It can also be another application doing an intensive process or just to start another application.
>
>However, what you plan to do might help a little bit, however it will not work 100%.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform