[futurebasic] Re: [FB] FN KillSpinningCursor (Help I lost it)

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2004 : Group Archive : Group : All Groups

From: Brian Stevens <brilor@...>
Date: Sun, 21 Nov 2004 05:36:30 -0700
Brian,

Are you really sure you need to use this? If your main event loop is 
hitting HANDLEEVENTS often enough, this should not be necessary. Most 
programs do NOT have to use this. When used it is typically necessary 
only in a very narrow scope.

Brian


Local Mode
Local Fn KillSpinningCursor
Dim evnt as EventRecord
End Fn =  Fn EventAvail(  0,  evnt )

called using something like:

If System(_sysVers) => 1000 Then Fn KillSpinningCursor


Also, there is a discussion in Robert Purves's demo at 
Examples/**Donations**/Robert P's Favorite Examples/Speed/Polltime 
folder/OS X Pizza cursor suppress
about using EventAvail.



On Nov 20, 2004, at 9:55 PM, Brian Heibert wrote:

> Someone gave me some code that will get rid of the rainbow spinning 
> cursor
> I need it again and can't find it
>
> I need it so the cursor goes away on mousedowns
>
> Brian
>
> --
>