[ANN] [EN] [FR] Tutorial #27 by So Smart Software: How to select objects using a selection rectangle built on-the-fly
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Tue Aug 12 16:00:49 EDT 2008
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 | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------
More information about the use-livecode
mailing list