home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / developm / scnote / stdfile.018 / StdFile.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-04-02  |  1.8 KB  |  75 lines

  1. /*------------------------------------------------------------------------------
  2. #
  3. #    Apple Macintosh Developer Technical Support
  4. #
  5. #    Standard File Sample Application
  6. #
  7. #    StdFile
  8. #
  9. #    StdFile.h    -    C and Rez Include Source
  10. #
  11. #    Copyright ⌐ 1989 Apple Computer, Inc.
  12. #    All rights reserved.
  13. #
  14. #    Versions:    
  15. #                1.00                04/89
  16. #
  17. #    Components:
  18. #                StdFile.c            April 1, 1989
  19. #                StdFile.p            April 1, 1989
  20. #                StdFile.h            April 1, 1988
  21. #                StdFile.r            April 1, 1988
  22. #                StdFile.rsrc        April 1, 1988
  23. #                CStdFile.make        April 1, 1989
  24. #                PStdFile.make        April 1, 1988
  25. #
  26. ------------------------------------------------------------------------------*/
  27.  
  28. /* Resource ID's for some dialog boxes */
  29. #define rAboutMeDLOG        128
  30. #define rRealAboutMeDLOG    129
  31. #define rShowSelectionDLOG    130
  32.  
  33. /* Resource ID's for Standard File Dialogs */
  34. #define rSFPGetFileDLOG        1000
  35. #define rSFPPutFileDLOG        1001
  36. #define rGetDirectoryDLOG    1002
  37. #define rMultiFileDLOG        1003
  38. #define rListsNPutFileDLOG    1004
  39. #define rOptionsDLOG        1005
  40. #define rOptionsSubDLOG        2000
  41.  
  42. /* STR# resources */
  43. #define rStrMisc        256
  44. #define rStrList        257
  45.  
  46. /* menubar resource number */
  47. #define rMenuBar        128
  48.  
  49. /* indexes for Apple menu items */
  50. #define mApple            128
  51. #define iAboutMe        1
  52.  
  53. #define mFile            129
  54. #define iQuit            1
  55.  
  56. #define mEdit            130
  57. #define iUndo            1
  58. #define iCut            3
  59. #define iCopy            4
  60. #define iPaste            5
  61. #define iClear            6
  62.  
  63. #define mSFile            131
  64. #define iNormalGet        1
  65. #define iNormalPut        iNormalGet + 1
  66. #define iNormalPGet        iNormalPut + 1
  67. #define iNormalPPut        iNormalPGet + 1
  68. #define iFileFilter        iNormalPPut + 1
  69. #define iGetDirectory    iFileFilter + 1
  70. #define iMultiFile        iGetDirectory + 1
  71. #define iListsNPutFile    iMultiFile + 1
  72. #define iPutOptions        iListsNPutFile + 1
  73. #define iIdleUpdates    iPutOptions + 1
  74. #define iForceDirectory iIdleUpdates + 1
  75.