home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / macintosh-c / macc-carbon-demos-nonbinhex.sit / macc-carbon-demos-nonbinhex / chap02-demo / LowEvents.c.rsrc / TEXT_17832.txt < prev   
Text File  |  2001-05-04  |  1KB  |  25 lines

  1. // *******************************************************************************************
  2. // LowEvents.c                                                                          CARBON
  3. // *******************************************************************************************
  4. // 
  5. // This program:
  6. //
  7. // ‚Ä¢    Contains a main event loop function, together with subsidiary functions which perform
  8. //        nominal handling only of low-level and Operating System events.
  9. //
  10. // ‚Ä¢    Opens a window in which the types of all received low-level and Operating System events
  11. //        are displayed.
  12. //
  13. // ‚Ä¢    Terminates when the user clicks the window's close box.
  14. //
  15. // Event handling is only nominal in this program because its main purpose is to demonstrate
  16. // the basics of an application's main event loop.  Programs in later chapters demonstrate
  17. // the full gamut of individual event handling. 
  18. //
  19. // The program utilises the following resources:
  20. //
  21. // ‚Ä¢    A 'carb' resource.
  22. //
  23. // ‚Ä¢    A 'WIND' resource (purgeable).
  24. //
  25. // ‚Ä¢    A 'SIZE' resour