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

  1. /////////////////////////////////////////////////////////////////////////
  2. // WLM resources
  3.  
  4. #include    "ftab.r"
  5. #include    "mrc\types.r"
  6. #include    "mrc\balloons.r"
  7. #include        "systypes.r"
  8.  
  9. /////////////////////////////////////////////////////////////////////////
  10. // MFC resources
  11.  
  12. #include    "afxaete.r"
  13.  
  14.  
  15. /////////////////////////////////////////////////////////////////////////
  16. // Code Fragment resources
  17.  
  18. #include    "CodeFrag.r"
  19.  
  20.  
  21. /////////////////////////////////////////////////////////////////////////
  22. // CtrlTest resources
  23.  
  24. resource 'SIZE' (-1)
  25. {
  26.     reserved,
  27.     acceptSuspendResumeEvents,
  28.     reserved,
  29.     canBackground,
  30.     doesActivateOnFGSwitch,
  31.     backgroundAndForeground,
  32.     dontGetFrontClicks,
  33.     ignoreAppDiedEvents,
  34.     is32BitCompatible,
  35.     isHighLevelEventAware,
  36.     localAndRemoteHLEvents,
  37.     notStationeryAware,
  38.     dontUseTextEditServices,
  39.     reserved,
  40.     reserved,
  41.     reserved,
  42. #ifdef _MPPC_
  43.     2500 * 1024,
  44.     2500 * 1024
  45. #else    // 68K Mac
  46. #ifdef _DEBUG
  47.     3000 * 1024,
  48.     3000 * 1024
  49. #else
  50.     2000 * 1024,
  51.     2000 * 1024
  52. #endif
  53. #endif
  54. };
  55.  
  56. resource 'vers' (1)
  57. {
  58.     0x01,
  59.     0x01,
  60.     final,
  61.     0x00,
  62.     verUS,
  63.     "1.1",
  64.     "ControlTest 1.1, Copyright \251 Microsoft Corp. 1994-1995"
  65. };
  66.  
  67. resource 'vers' (2)
  68. {
  69.     0x04,
  70.     0x00,
  71.     final,
  72.     0x00,
  73.     verUS,
  74.     "4.0",
  75.     "MFC for Macintosh 4.0"
  76. };
  77.  
  78. resource 'BNDL' (128)
  79. {
  80.     'CTRL',
  81.     0,
  82.     {
  83.         'FREF',
  84.         {
  85.             0, 2
  86.         },
  87.         'ICN#',
  88.         {
  89.             0, 31234
  90.         }
  91.     }
  92. };
  93.  
  94. type 'CTRL' as 'STR ';
  95. resource 'CTRL' (0)
  96. {
  97.     "ControlTest 1.1 Copyright \251 1994-1995 Microsoft Corp."
  98. };
  99.  
  100. resource 'FREF' (2)
  101. {
  102.     'APPL',
  103.     0,
  104.     ""
  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 ControlTest "
  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 ControlTest "
  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 ControlTest "
  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 ControlTest 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 ControlTest 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.     kPowerPC,
  169.     kFullLib,
  170.     kNoVersionNum,kNoVersionNum,
  171.     0, 0,
  172.     kIsApp,kOnDiskFlat,kZeroOffset,kWholeFork,
  173.     ""
  174.   }
  175. };
  176. #endif
  177.