home *** CD-ROM | disk | FTP | other *** search
/ develop, the CD; issue 1 / Apple_Develop_1989.bin / Compatibility / SCN.001.Sample < prev   
Text File  |  1989-04-23  |  3KB  |  64 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.  
  14. Components:            Sample.p                    April 1, 1989
  15.                     Sample.c                    April 1, 1989
  16.                     Sample.a                    April 1, 1989
  17.                     Sample.inc1.a                April 1, 1989
  18.                     SampleMisc.a                April 1, 1989
  19.                     Sample.r                    April 1, 1989
  20.                     Sample.h                    April 1, 1989
  21.                     PSample.make                April 1, 1989
  22.                     CSample.make                April 1, 1989
  23.                     ASample.make                April 1, 1989
  24. _____________________________________________________________________________
  25.  
  26. Major changes since 1.0
  27. Revamped the way that memory availability is checked and handled 
  28. at initialization.  Substantially changed the way windows are 
  29. closed.  Added an error message dialog to better inform users, and 
  30. improved error handling in general.  Finally, put a funny hack 
  31. into the C version so we could call _PurgeSpace under MPW 2.0.2.
  32.  
  33. Search for ``1.01'' in the code to find all the specific changes.
  34.  
  35. Major changes since 1.01
  36. Removed all dependencies on MPW 2.0; this version requires MPW 3.0 
  37. or later.  Improved TrapAvailable to handle differences between 
  38. machines prior to the Macintosh II and the Macintosh II and later 
  39. models.
  40.  
  41. Search for ``1.02'' in the code to find all the specific changes.
  42. _____________________________________________________________________________
  43.  
  44. Sample is an example application that demonstrates how to 
  45. initialize the commonly used Toolbox managers, operate 
  46. successfully under MultiFinder, handle desk accessories, and 
  47. create, grow, and zoom windows.
  48.  
  49. It does not, by any means, demonstrate all the techniques you need 
  50. for a large application.  In particular, Sample does not cover 
  51. exception handling, multiple windows or documents, sophisticated 
  52. memory management, printing, or undo, all of which are vital parts 
  53. of a normal full-sized application.
  54.  
  55. This application is an example of the form of a Macintosh 
  56. application; it is not a template.  It is not intended to be used 
  57. as a foundation for the next world-class, best-selling, 600K 
  58. application.  A stick figure drawing of the human body may be a 
  59. good example of the form for a painting, but that does not mean it 
  60. should be used as the basis for the next Mona Lisa.
  61.  
  62. We recommend that you review this program or TESample before 
  63. beginning a new application.
  64.