home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / programm / 15012 < prev    next >
Encoding:
Text File  |  1992-09-04  |  1.2 KB  |  30 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!caen!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!jbush
  3. From: jbush@magnus.acs.ohio-state.edu (J Eric Bush)
  4. Subject: Re: Animated Cursor
  5. Message-ID: <1992Sep4.175646.10103@magnus.acs.ohio-state.edu>
  6. Sender: news@magnus.acs.ohio-state.edu
  7. Nntp-Posting-Host: bottom.magnus.acs.ohio-state.edu
  8. Organization: The Ohio State University
  9. References: <chuck-040992120527@choffman.gte.com>
  10. Date: Fri, 4 Sep 1992 17:56:46 GMT
  11. Lines: 17
  12.  
  13. In article <chuck-040992120527@choffman.gte.com> chuck@gte.com (Chuck Hoffman)
  14. writes:
  15. >Can someone point me to documentation about how to do an animated cursor.
  16. >I somehow missed it in the TN's and IM.
  17. >
  18. To do an animated cursor the way the Finder does it, you have a acur resource 
  19. with the numbers of the CURS icons in the rotation.  Make a copy of your finder
  20. and save it to disk.  Look at the acur and CURS resource with ResEdit.
  21.  
  22. Then, inyour application, you just keep a variable with the current cursor,
  23. add one to it, and then do a SetCursor procedure/function.
  24.  
  25. Eric
  26. -- 
  27. ------------------------------------------------------------------------------
  28. J. Eric Bush
  29. Internet: jbush@magnus.acs.ohio-state.edu
  30.