home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / apple2 / gno / 745 < prev    next >
Encoding:
Internet Message Format  |  1992-12-31  |  2.8 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!gateway
  2. From: snakey@pro-cynosure.cts.com (David Ross)
  3. Newsgroups: comp.sys.apple2.gno
  4. Subject: Toolbox Programming
  5. Date: 31 Dec 1992 01:31:39 -0600
  6. Organization: ProLine [pro-cynosure]
  7. Lines: 49
  8. Sender: daemon@cs.utexas.edu
  9. Message-ID: <lu37305@pro-cynosure.cts.com>
  10. NNTP-Posting-Host: cs.utexas.edu
  11.  
  12.         Hi all!  (IRC people - I shall return!!!)  I have been working on a
  13. rather large Pascal program which generates a bunch of fractals at once.  I
  14. used to call this multitasking, but I was informed by someone one day that
  15. using the strict definition of multitasking, it was not.  Ok, so whatever
  16. the hell it is, here are my problems:
  17.  
  18. 1.  The main event loop takes a WHILE, and so if you do an 
  19.     operation involving clicking and dragging, there seems 
  20.     to be this GS/OS bug that appears.  It does the action 
  21.     sometimes, but it doesn't show the important part, what
  22.     you are doing.  For example, sometimes, when I click on
  23.     a scroll bar, it will drag it in it's mind, and when I 
  24.     let go, it will go to the place that I have dragged it 
  25.     to, but it won't show me the little box going up and down
  26.     as I pull the mouse up and down.  It will only update it
  27.     after I let go!  This also happens in another place.  Is
  28.     there any way to put events on hold while one is not in 
  29.     the 'main' main event loop?
  30.  
  31. 2.  When I make a block of memory with NewHandle, for use as
  32.     a graphport for storing what is in a window, the bottom 
  33.     of it will be garbage.  For instance, with a 640x400 pixel
  34.     block of memory, anything below line 200 will be junk.  
  35.     The boundsrect is ok, and so is the amount of memory.  I'm
  36.     stumped.
  37.  
  38. 3.  In order to follow technote #4's directions for changing
  39.     modes, I have to shut down Quickdraw.  I used a resource
  40.     to start all of the tools, so I don't know Quickdraw's 
  41.     direct page to restart it!  What should I do?!?!?
  42.  
  43. Well there they are!  Any and all help would be imensely appreciated, but
  44. due to the sheer volume of all the messages here, I would really appreciate
  45. it if any answers were sent by e-mail.  Also, anyone have a copy of
  46. Complete Pascal that they would be willing to part with?  I'm not gonna
  47. risk sending $$$ to that guy, I have heard that he sometimes doesn't send
  48. the products out, but keeps the $$$!  Anyway, in regards to these
  49. programming problems, any help would be greatly appreciated and would
  50. certainly earn you a place in the credits.  The final program will be
  51. public domain.  All of the fractal fans out there can look for a beta
  52. version to be out in just a few months.
  53.  
  54.                                            /\/\/\/\/\/\/\/\/\/\/\/\:>-
  55.                                            Snakey
  56. ----
  57. ProLine:  snakey@pro-iisysops
  58. Internet: snakey@pro-iisysops.cts.com
  59. UUCP:     crash!pro-iisysops!snakey
  60. ARPA:     crash!pro-iisysops!snakey@nosc.mil
  61.