home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / oleaut / spoly / resource.h < prev    next >
C/C++ Source or Header  |  1997-10-05  |  1KB  |  58 lines

  1. /*** 
  2. *resource.h
  3. *
  4. *  This is a part of the Microsoft Source Code Samples.
  5. *
  6. *  Copyright (C) 1992-1997 Microsoft Corporation. All rights reserved.
  7. *
  8. *  This source code is only intended as a supplement to Microsoft Development
  9. *  Tools and/or WinHelp documentation.  See these sources for detailed
  10. *  information regarding the Microsoft samples programs.
  11. *
  12. *Purpose:
  13. *
  14. *Implementation Notes:
  15. *
  16. *****************************************************************************/
  17.  
  18. #ifdef _MAC
  19.  
  20. #define kMinSize    500    /* minimum size (in K) */
  21. #define kPrefSize    500    /* preferred size (in K) */
  22.  
  23. #define    rMenuBar    128    /* menu bar */
  24. #define    rAboutAlert    128    /* about alert */
  25. #define    rUserAlert    129    /* error alert */
  26. #define    rWindow        128    /* application's window */
  27. #define rIcon        128
  28.  
  29. #define    mApple        128    /* Apple menu */
  30. #define    iAbout        1
  31.  
  32. #define    mFile        129    /* File menu */
  33. #define    iNew        1
  34. #define    iClose        4
  35. #define    iQuit        12
  36.  
  37. #define    mEdit        130    /* Edit menu */
  38. #define    iUndo        1
  39. #define    iCut        3
  40. #define    iCopy        4
  41. #define    iPaste        5
  42. #define    iClear        6
  43.  
  44. #define mSpoly        131
  45. #define iTest        1
  46.  
  47. #define kMinHeap    21 * 1024
  48. #define kMinSpace    8 * 1024
  49.  
  50. #else /* WIN16 || WIN32 */
  51.  
  52. # define IDM_CLEAR    1
  53. # define IDM_DUMP    2
  54. # define IDM_FIRSTCHILD    100
  55.  
  56. #endif
  57.  
  58.