home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / developm / scnote / sample.001 / SCN.001.Sample < prev    next >
Text File  |  1989-05-24  |  3KB  |  66 lines

  1. Macintosh
  2. Sample Code Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6. #1:    Sample
  7.  
  8. Written by:    Darin Adler, Mark Bennett, and Jim Reekes
  9.  
  10. Versions:            1.00                        August 1988
  11.                     1.01                        November 1988
  12.                     1.02                        April 1989
  13.                     1.03                        June 1989
  14.  
  15.  
  16. Components:            Sample.p                    June 1, 1989
  17.                     Sample.c                    June 1, 1989
  18.                     Sample.a                    June 1, 1989
  19.                     Sample.inc1.a                June 1, 1989
  20.                     SampleMisc.a                June 1, 1989
  21.                     Sample.r                    June 1, 1989
  22.                     Sample.h                    June 1, 1989
  23.                     PSample.make                June 1, 1989
  24.                     CSample.make                June 1, 1989
  25.                     ASample.make                June 1, 1989
  26. _____________________________________________________________________________
  27.  
  28. Major changes since 1.0
  29. Revamped the way that memory availability is checked and handled 
  30. at initialization.  Substantially changed the way windows are 
  31. closed.  Added an error message dialog to better inform users, and 
  32. improved error handling in general.  Finally, put a funny hack 
  33. into the C version so we could call _PurgeSpace under MPW 2.0.2.
  34.  
  35. Search for ╥1.01╙ in the code to find all the specific changes.
  36.  
  37. Major changes since 1.01
  38. Removed all dependencies on MPW 2.0; this version requires MPW 3.0 
  39. or later.  Improved TrapAvailable to handle differences between 
  40. machines prior to the Macintosh II and the Macintosh II and later 
  41. models.
  42.  
  43. Search for ╥1.02╙ in the code to find all the specific changes.
  44. _____________________________________________________________________________
  45.  
  46. Sample is an example application that demonstrates how to 
  47. initialize the commonly used Toolbox managers, operate 
  48. successfully under MultiFinder, handle desk accessories, and 
  49. create, grow, and zoom windows.
  50.  
  51. It does not, by any means, demonstrate all the techniques you need 
  52. for a large application.  In particular, Sample does not cover 
  53. exception handling, multiple windows or documents, sophisticated 
  54. memory management, printing, or undo, all of which are vital parts 
  55. of a normal full-sized application.
  56.  
  57. This application is an example of the form of a Macintosh 
  58. application; it is not a template.  It is not intended to be used 
  59. as a foundation for the next world-class, best-selling, 600K 
  60. application.  A stick figure drawing of the human body may be a 
  61. good example of the form for a painting, but that does not mean it 
  62. should be used as the basis for the next Mona Lisa.
  63.  
  64. We recommend that you review this program or TESample before 
  65. beginning a new application.
  66.