[comp.sys.mac.hypercard] Cursors in HyperCard

isle@eleazar.Dartmouth.EDU (Ken Hancock) (01/29/88)

A little while ago, I downloaded a Rotating Earth Cursor which consists
of about 7 CURS resources and 1 ascr (I believe) resource.  This was
meant as a replacement for the spinning watch in Finder 6.0, but I was
wondering how to implement it in HyperCard.  I tried installing everything
and set cursor to ID#, but it instantly switched back.  Any ideas
on how this would be implemented?

Thanks in advance --

Ken


-- 
Ken Hancock      UUCP: isle@eleazar.dartmouth.edu
               BITNET: isle@eleazar.dartmouth.edu

DISCLAIMER: If people weren't so sue-happy, I wouldn't need one!

moriarty@tc.fluke.COM (Jeff Meyer) (02/02/88)

>A little while ago, I downloaded a Rotating Earth Cursor which consists
>of about 7 CURS resources and 1 ascr (I believe) resource.  This was
>meant as a replacement for the spinning watch in Finder 6.0, but I was
>wondering how to implement it in HyperCard.  I tried installing everything
>and set cursor to ID#, but it instantly switched back.  Any ideas
>on how this would be implemented?

A while ago, someone at Fluke wanted an "invisible cursor" for
presentations.  I think there is a better way to do this than our approach,
but we created a new, "blank" cursor and installed it in either the Finder
or the System, I don't remember which -- the tip-off was that there were
five or six cursors there already, each having a resource number
corresponding to the changeable cursors Goodman describes in the HyperCard
book.

Hope that helps...

         "For the man who has everything... Penicillin."
                                 -- F. Borquin

                                        Moriarty, aka Jeff Meyer
INTERNET:     moriarty@tc.fluke.COM
Manual UUCP:  {uw-beaver, sun, allegra, hplsla, lbl-csam}!fluke!moriarty
CREDO:        You gotta be Cruel to be Kind...
<*> DISCLAIMER: Do what you want with me, but leave my employers alone! <*>

davide@cs.qmc.ac.uk (David Edmondson) (02/05/88)

 HyperCard returns the cursor to what it was when it sends an
idle message, the way to keep your own cursor is to make sure
that a script is running all the time you want the cursor
displayed.  In one of my stacks I wrote a mousewithin function
which checked to see that the cursor was still over the button
and included a mouse down detector within a repeat while
mousewithin = true loop. This kept the cursor to what I had set
it to while the cursor was over the button.

I hope this helps, Dave.