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