home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / CALCDR.PAK / CDRVMAC.R < prev    next >
Encoding:
Text File  |  1997-05-06  |  3.7 KB  |  183 lines

  1. #include    "resource.h"
  2.  
  3. /////////////////////////////////////////////////////////////////////////
  4. // WLM resources
  5.  
  6. #include    "ftab.r"
  7. #include    "mrc\types.r"
  8. #include    "mrc\balloons.r"
  9. #include        "systypes.r"
  10.  
  11. /////////////////////////////////////////////////////////////////////////
  12. // MFC resources
  13.  
  14. #include    "afxaete.r"
  15.  
  16.  
  17. /////////////////////////////////////////////////////////////////////////
  18. // Code Fragment resources
  19.  
  20. #include    "CodeFrag.r"
  21.  
  22.  
  23. /////////////////////////////////////////////////////////////////////////
  24. // cdrvmac.r: Macintosh-specific resources
  25.  
  26. resource 'SIZE' (-1)
  27. {
  28.     reserved,
  29.     acceptSuspendResumeEvents,
  30.     reserved,
  31.     canBackground,
  32.     doesActivateOnFGSwitch,
  33.     backgroundAndForeground,
  34.     dontGetFrontClicks,
  35.     ignoreAppDiedEvents,
  36.     is32BitCompatible,
  37.     isHighLevelEventAware,
  38.     localAndRemoteHLEvents,
  39.     isStationeryAware,
  40.     useTextEditServices,
  41.     reserved,
  42.     reserved,
  43.     reserved,
  44. #ifdef _MPPC_
  45.     3000 * 1024,
  46.     3000 * 1024
  47. #else    // 68K Mac
  48. #ifdef _DEBUG
  49.     3000 * 1024,
  50.     3000 * 1024
  51. #else
  52.     2000 * 1024,
  53.     2000 * 1024
  54. #endif
  55. #endif
  56. };
  57.  
  58. resource 'vers' (2)
  59. {
  60.     0x04,
  61.     0x00,
  62.     final,
  63.     0x00,
  64.     verUS,
  65.     "4.0",
  66.     "MFC for Macintosh 4.0"
  67. };
  68.  
  69. resource 'BNDL' (128, purgeable)    // calcdriv bundle resource ID
  70. {
  71.     'CDRV',                 // calcdriv signature
  72.     0,                      // resource ID of signature resource:
  73.                             // should be 0
  74.     {
  75.         'ICN#',             // mapping local IDs in 'FREF's to 'ICN#' IDs
  76.         {
  77.             0, IDR_MAINFRAME,
  78.             1, 129
  79.         },
  80.         'FREF',             // local resource IDs for 'FREF's
  81.         {
  82.             0, 128,
  83.             1, 129
  84.         }
  85.     }
  86. };
  87.  
  88. resource 'FREF' (128, purgeable)    // calcdriv application
  89. {
  90.     'APPL', 0,
  91.     ""
  92. };
  93.  
  94. resource 'FREF' (129, purgeable)    // calcdriv document
  95. {
  96.     'CDRV', 1,
  97.     ""
  98. };
  99.  
  100. type 'CDRV' as 'STR ';
  101.  
  102. resource 'CDRV' (0, purgeable)
  103. {
  104.     "CALCDRIV Application"
  105. };
  106.  
  107. /* Balloon help resources */
  108.  
  109. resource 'hfdr' (-5696)
  110. {
  111.     HelpMgrVersion, hmDefaultOptions, 0, 0,
  112.     {
  113.         HMSTRResItem {500}
  114.     }
  115. };
  116.  
  117. resource 'hovr' (1000)
  118. {
  119.     HelpMgrVersion, hmDefaultOptions, 0, 0,
  120.  
  121.         HMStringItem    /* missing items override */
  122.         {
  123.             "Miscellaneous part of the Microsoft CALCDRIV "
  124.             "Sample Application."
  125.         },
  126.         {
  127.             HMSkipItem {},  /* title bar */
  128.             HMSkipItem {},  /* reserved. always skip item here */
  129.             HMStringItem    /* close box */
  130.             {
  131.                 "Click here to close the Microsoft CALCDRIV "
  132.                 "Sample Application."
  133.             },
  134.             HMStringItem    /* zoom box */
  135.             {
  136.                 "Click here to Zoom In or Zoom Out."
  137.             },
  138.             HMSkipItem {},  /* active app's inactive window */
  139.             HMStringItem    /* inactive app's window */
  140.             {
  141.                 "This is not part of the Microsoft CALCDRIV "
  142.                 "Application. It may be part of the Apple "
  143.                 "Finder, or some other application."
  144.             },
  145.             HMSkipItem {}   /* outside modal dialog */
  146.         }
  147. };
  148.  
  149. #ifdef _MPPC_
  150. resource 'STR ' (500)
  151. {
  152.     "This is the Win32 CALCDRIV sample application "
  153.     "ported to the Power Macintosh using Microsoft VC++ "
  154.     "Edition for the Apple Power Macintosh"
  155. };
  156. #else    // 68K Mac
  157. resource 'STR ' (500)
  158. {
  159.     "This is the Win32 CALCDRIV sample application "
  160.     "ported to the Macintosh using Microsoft VC++ Edition "
  161.     "for the Apple Macintosh"
  162. };
  163. #endif
  164.  
  165. #ifdef _MPPC_
  166. resource 'cfrg' (0) 
  167. {
  168.   {
  169.         kPowerPC,
  170.         kFullLib,
  171.         kNoVersionNum,
  172.         kNoVersionNum,
  173.         kDefaultStackSize,
  174.         kNoAppSubFolder,
  175.         kIsApp,
  176.         kOnDiskFlat,
  177.         kZeroOffset,
  178.         kWholeFork,
  179.         "calcdriv"
  180.   }
  181. };
  182. #endif
  183.