Bonsoir Jacque,
Of course I'm aware of polling the mouse :-)
I love principles but I need to see...
In this case, I'm unable to see worrying side effects.
And, in a tutorial, it is easy to understand what happens using this
form.
Of course, mouseMove could certainly be used to achieve the same goal.
With less precision because it's sent every 200 ms only, but why not.
I just wait for a proof that, using today computers, one of Scott
Raney's biggest pet peeves is still valid ;-)
Le 12 août 08 à 21:41, J. Landman Gay a écrit :
Eric Chatonet wrote:
Bonsoir Chipp,
I'm not sure I understand what you mean...
What is sure is that a repeat until... is blocking Rev during the
process without any wait x ms with messages inserted in the repeat
loop.
But actually who cares from an user point of view?
What would you do in the meantime?
And how this could affect other apps?
Probably I miss what you want to mean :-)
If I look at Task Manager (Windows) I can see that there is no CPU
high usage in Rev and, for example, Vista widgets go on working as
expected.
What is your point exactly?
He's talking about this:
<http://www.hyperactivesw.com/polling.html>
It was one of Scott Raney's biggest pet peeves and he always warned
people not to do it. He finally asked me to put up a web page so he
could refer people there when he saw script examples on the MC list.
It may be that newer CPUs handle this kind of blocking call better
now, but I still avoid using mouse polling inside repeat loops.
--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software | http://www.hyperactivesw.com
Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/
----------------------------------------------------------------
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution