home *** CD-ROM | disk | FTP | other *** search
/ 3D Graphics Programming for Windows 95 / 3D_Graphics_Programming_for_Windows_95_Microsoft_1996.iso / samples / basic / basic.rc < prev    next >
Text File  |  1996-03-13  |  10KB  |  335 lines

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4.  
  5. #define APSTUDIO_READONLY_SYMBOLS
  6. /////////////////////////////////////////////////////////////////////////////
  7. //
  8. // Generated from the TEXTINCLUDE 2 resource.
  9. //
  10. #include "afxres.h"
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. #undef APSTUDIO_READONLY_SYMBOLS
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // English (U.S.) resources
  17.  
  18. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  19. #ifdef _WIN32
  20. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  21. #pragma code_page(1252)
  22. #endif //_WIN32
  23.  
  24. #ifdef APSTUDIO_INVOKED
  25. /////////////////////////////////////////////////////////////////////////////
  26. //
  27. // TEXTINCLUDE
  28. //
  29.  
  30. 1 TEXTINCLUDE DISCARDABLE 
  31. BEGIN
  32.     "resource.h\0"
  33. END
  34.  
  35. 2 TEXTINCLUDE DISCARDABLE 
  36. BEGIN
  37.     "#include ""afxres.h""\r\n"
  38.     "\0"
  39. END
  40.  
  41. 3 TEXTINCLUDE DISCARDABLE 
  42. BEGIN
  43.     "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
  44.     "#define _AFX_NO_OLE_RESOURCES\r\n"
  45.     "#define _AFX_NO_TRACKER_RESOURCES\r\n"
  46.     "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
  47.     "\r\n"
  48.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
  49.     "#ifdef _WIN32\r\n"
  50.     "LANGUAGE 9, 1\r\n"
  51.     "#pragma code_page(1252)\r\n"
  52.     "#endif\r\n"
  53.     "#include ""res\\Basic.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
  54.     "#include ""afxres.rc""         // Standard components\r\n"
  55.     "#endif\0"
  56. END
  57.  
  58. #endif    // APSTUDIO_INVOKED
  59.  
  60.  
  61. /////////////////////////////////////////////////////////////////////////////
  62. //
  63. // Icon
  64. //
  65.  
  66. // Icon with lowest ID value placed first to ensure application icon
  67. // remains consistent on all systems.
  68. IDR_MAINFRAME           ICON    DISCARDABLE     "res\\Basic.ico"
  69.  
  70. /////////////////////////////////////////////////////////////////////////////
  71. //
  72. // Menu
  73. //
  74.  
  75. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  76. BEGIN
  77.     POPUP "&File"
  78.     BEGIN
  79.         MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
  80.         MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
  81.         MENUITEM "&Save\tCtrl+S",               ID_FILE_SAVE
  82.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  83.         MENUITEM SEPARATOR
  84.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  85.         MENUITEM SEPARATOR
  86.         MENUITEM "E&xit",                       ID_APP_EXIT
  87.     END
  88.     POPUP "&Edit"
  89.     BEGIN
  90.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
  91.         MENUITEM SEPARATOR
  92.         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
  93.         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
  94.         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
  95.     END
  96.     POPUP "&Help"
  97.     BEGIN
  98.         MENUITEM "&About Basic...",             ID_APP_ABOUT
  99.     END
  100. END
  101.  
  102.  
  103. /////////////////////////////////////////////////////////////////////////////
  104. //
  105. // Accelerator
  106. //
  107.  
  108. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  109. BEGIN
  110.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  111.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  112.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  113.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  114.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  115.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  116.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  117.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  118.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  119.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  120.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  121.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  122.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  123. END
  124.  
  125.  
  126. /////////////////////////////////////////////////////////////////////////////
  127. //
  128. // Dialog
  129. //
  130.  
  131. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 55
  132. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  133. CAPTION "About Basic"
  134. FONT 8, "MS Sans Serif"
  135. BEGIN
  136.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,18,20
  137.     LTEXT           "Basic Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX
  138.     LTEXT           "Copyright ⌐ 1996 Nigel Thompson",IDC_STATIC,40,25,119,8
  139.     DEFPUSHBUTTON   "OK",IDOK,178,7,32,14,WS_GROUP
  140. END
  141.  
  142.  
  143. #ifndef _MAC
  144. /////////////////////////////////////////////////////////////////////////////
  145. //
  146. // Version
  147. //
  148.  
  149. VS_VERSION_INFO VERSIONINFO
  150.  FILEVERSION 1,0,0,1
  151.  PRODUCTVERSION 1,0,0,1
  152.  FILEFLAGSMASK 0x3fL
  153. #ifdef _DEBUG
  154.  FILEFLAGS 0x1L
  155. #else
  156.  FILEFLAGS 0x0L
  157. #endif
  158.  FILEOS 0x4L
  159.  FILETYPE 0x1L
  160.  FILESUBTYPE 0x0L
  161. BEGIN
  162.     BLOCK "StringFileInfo"
  163.     BEGIN
  164.         BLOCK "040904B0"
  165.         BEGIN
  166.             VALUE "CompanyName", "\0"
  167.             VALUE "FileDescription", "BASIC MFC Application\0"
  168.             VALUE "FileVersion", "1, 0, 0, 1\0"
  169.             VALUE "InternalName", "BASIC\0"
  170.             VALUE "LegalCopyright", "Copyright ⌐ 1996\0"
  171.             VALUE "LegalTrademarks", "\0"
  172.             VALUE "OriginalFilename", "BASIC.EXE\0"
  173.             VALUE "ProductName", "BASIC Application\0"
  174.             VALUE "ProductVersion", "1, 0, 0, 1\0"
  175.         END
  176.     END
  177.     BLOCK "VarFileInfo"
  178.     BEGIN
  179.         VALUE "Translation", 0x409, 1200
  180.     END
  181. END
  182.  
  183. #endif    // !_MAC
  184.  
  185.  
  186. /////////////////////////////////////////////////////////////////////////////
  187. //
  188. // DESIGNINFO
  189. //
  190.  
  191. #ifdef APSTUDIO_INVOKED
  192. GUIDELINES DESIGNINFO DISCARDABLE 
  193. BEGIN
  194.     IDD_ABOUTBOX, DIALOG
  195.     BEGIN
  196.         LEFTMARGIN, 7
  197.         RIGHTMARGIN, 210
  198.         TOPMARGIN, 7
  199.         BOTTOMMARGIN, 48
  200.     END
  201. END
  202. #endif    // APSTUDIO_INVOKED
  203.  
  204.  
  205. /////////////////////////////////////////////////////////////////////////////
  206. //
  207. // String Table
  208. //
  209.  
  210. STRINGTABLE PRELOAD DISCARDABLE 
  211. BEGIN
  212.     IDR_MAINFRAME           "Basic\n\nBasic\n\n\nBasic.Document\nBasic Document"
  213. END
  214.  
  215. STRINGTABLE PRELOAD DISCARDABLE 
  216. BEGIN
  217.     AFX_IDS_APP_TITLE       "Basic"
  218.     AFX_IDS_IDLEMESSAGE     "Ready"
  219. END
  220.  
  221. STRINGTABLE DISCARDABLE 
  222. BEGIN
  223.     ID_INDICATOR_EXT        "EXT"
  224.     ID_INDICATOR_CAPS       "CAP"
  225.     ID_INDICATOR_NUM        "NUM"
  226.     ID_INDICATOR_SCRL       "SCRL"
  227.     ID_INDICATOR_OVR        "OVR"
  228.     ID_INDICATOR_REC        "REC"
  229. END
  230.  
  231. STRINGTABLE DISCARDABLE 
  232. BEGIN
  233.     ID_FILE_NEW             "Create a new document\nNew"
  234.     ID_FILE_OPEN            "Open an existing document\nOpen"
  235.     ID_FILE_CLOSE           "Close the active document\nClose"
  236.     ID_FILE_SAVE            "Save the active document\nSave"
  237.     ID_FILE_SAVE_AS         "Save the active document with a new name\nSave As"
  238. END
  239.  
  240. STRINGTABLE DISCARDABLE 
  241. BEGIN
  242.     ID_APP_ABOUT            "Display program information, version number and copyright\nAbout"
  243.     ID_APP_EXIT             "Quit the application; prompts to save documents\nExit"
  244. END
  245.  
  246. STRINGTABLE DISCARDABLE 
  247. BEGIN
  248.     ID_FILE_MRU_FILE1       "Open this document"
  249.     ID_FILE_MRU_FILE2       "Open this document"
  250.     ID_FILE_MRU_FILE3       "Open this document"
  251.     ID_FILE_MRU_FILE4       "Open this document"
  252.     ID_FILE_MRU_FILE5       "Open this document"
  253.     ID_FILE_MRU_FILE6       "Open this document"
  254.     ID_FILE_MRU_FILE7       "Open this document"
  255.     ID_FILE_MRU_FILE8       "Open this document"
  256.     ID_FILE_MRU_FILE9       "Open this document"
  257.     ID_FILE_MRU_FILE10      "Open this document"
  258.     ID_FILE_MRU_FILE11      "Open this document"
  259.     ID_FILE_MRU_FILE12      "Open this document"
  260.     ID_FILE_MRU_FILE13      "Open this document"
  261.     ID_FILE_MRU_FILE14      "Open this document"
  262.     ID_FILE_MRU_FILE15      "Open this document"
  263.     ID_FILE_MRU_FILE16      "Open this document"
  264. END
  265.  
  266. STRINGTABLE DISCARDABLE 
  267. BEGIN
  268.     ID_NEXT_PANE            "Switch to the next window pane\nNext Pane"
  269.     ID_PREV_PANE            "Switch back to the previous window pane\nPrevious Pane"
  270. END
  271.  
  272. STRINGTABLE DISCARDABLE 
  273. BEGIN
  274.     ID_WINDOW_SPLIT         "Split the active window into panes\nSplit"
  275. END
  276.  
  277. STRINGTABLE DISCARDABLE 
  278. BEGIN
  279.     ID_EDIT_CLEAR           "Erase the selection\nErase"
  280.     ID_EDIT_CLEAR_ALL       "Erase everything\nErase All"
  281.     ID_EDIT_COPY            "Copy the selection and put it on the Clipboard\nCopy"
  282.     ID_EDIT_CUT             "Cut the selection and put it on the Clipboard\nCut"
  283.     ID_EDIT_FIND            "Find the specified text\nFind"
  284.     ID_EDIT_PASTE           "Insert Clipboard contents\nPaste"
  285.     ID_EDIT_REPEAT          "Repeat the last action\nRepeat"
  286.     ID_EDIT_REPLACE         "Replace specific text with different text\nReplace"
  287.     ID_EDIT_SELECT_ALL      "Select the entire document\nSelect All"
  288.     ID_EDIT_UNDO            "Undo the last action\nUndo"
  289.     ID_EDIT_REDO            "Redo the previously undone action\nRedo"
  290. END
  291.  
  292. STRINGTABLE DISCARDABLE 
  293. BEGIN
  294.     AFX_IDS_SCSIZE          "Change the window size"
  295.     AFX_IDS_SCMOVE          "Change the window position"
  296.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  297.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  298.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  299.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  300.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  301. END
  302.  
  303. STRINGTABLE DISCARDABLE 
  304. BEGIN
  305.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  306.     AFX_IDS_SCTASKLIST      "Activate Task List"
  307. END
  308.  
  309. #endif    // English (U.S.) resources
  310. /////////////////////////////////////////////////////////////////////////////
  311.  
  312.  
  313.  
  314. #ifndef APSTUDIO_INVOKED
  315. /////////////////////////////////////////////////////////////////////////////
  316. //
  317. // Generated from the TEXTINCLUDE 3 resource.
  318. //
  319. #define _AFX_NO_SPLITTER_RESOURCES
  320. #define _AFX_NO_OLE_RESOURCES
  321. #define _AFX_NO_TRACKER_RESOURCES
  322. #define _AFX_NO_PROPERTY_RESOURCES
  323.  
  324. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  325. #ifdef _WIN32
  326. LANGUAGE 9, 1
  327. #pragma code_page(1252)
  328. #endif
  329. #include "res\Basic.rc2"  // non-Microsoft Visual C++ edited resources
  330. #include "afxres.rc"         // Standard components
  331. #endif
  332. /////////////////////////////////////////////////////////////////////////////
  333. #endif    // not APSTUDIO_INVOKED
  334.  
  335.