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

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