home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / tutorial / enroll / step1 / enroll.rc < prev    next >
Text File  |  1998-03-26  |  11KB  |  401 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\\enroll.rc2""  // non-App Studio edited resources\r\n"
  49.     "\r\n"
  50.     "#include ""afxres.rc""  \011// Standard components\r\n"
  51.     "#include ""afxprint.rc""\011// printing/print preview resources\r\n"
  52.     "#include ""afxdb.rc""\011\011// Database resources\r\n"
  53.     "\0"
  54. END
  55.  
  56. #endif    // APSTUDIO_INVOKED
  57.  
  58.  
  59. /////////////////////////////////////////////////////////////////////////////
  60. //
  61. // Icon
  62. //
  63.  
  64. // Icon with lowest ID value placed first to ensure application icon
  65. // remains consistent on all systems.
  66. IDR_MAINFRAME           ICON    DISCARDABLE     "res\\enroll.ico"
  67.  
  68. /////////////////////////////////////////////////////////////////////////////
  69. //
  70. // Bitmap
  71. //
  72.  
  73. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\\toolbar.bmp"
  74.  
  75. /////////////////////////////////////////////////////////////////////////////
  76. //
  77. // Toolbar
  78. //
  79.  
  80. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  81. BEGIN
  82.     BUTTON      ID_EDIT_CUT
  83.     BUTTON      ID_EDIT_COPY
  84.     BUTTON      ID_EDIT_PASTE
  85.     SEPARATOR
  86.     BUTTON      ID_FILE_PRINT
  87.     SEPARATOR
  88.     BUTTON      ID_RECORD_FIRST
  89.     BUTTON      ID_RECORD_PREV
  90.     BUTTON      ID_RECORD_NEXT
  91.     BUTTON      ID_RECORD_LAST
  92.     SEPARATOR
  93.     BUTTON      ID_APP_ABOUT
  94. END
  95.  
  96.  
  97. /////////////////////////////////////////////////////////////////////////////
  98. //
  99. // Menu
  100. //
  101.  
  102. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  103. BEGIN
  104.     POPUP "&File"
  105.     BEGIN
  106.         MENUITEM "&Print...\tCtrl+P",           ID_FILE_PRINT
  107.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  108.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  109.         MENUITEM SEPARATOR
  110.         MENUITEM "E&xit",                       ID_APP_EXIT
  111.     END
  112.     POPUP "&Edit"
  113.     BEGIN
  114.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
  115.         MENUITEM SEPARATOR
  116.         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
  117.         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
  118.         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
  119.     END
  120.     POPUP "&Record"
  121.     BEGIN
  122.         MENUITEM "&First Record",               ID_RECORD_FIRST
  123.         MENUITEM "&Previous Record",            ID_RECORD_PREV
  124.         MENUITEM "&Next Record",                ID_RECORD_NEXT
  125.         MENUITEM "&Last Record",                ID_RECORD_LAST
  126.     END
  127.     POPUP "&View"
  128.     BEGIN
  129.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  130.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  131.     END
  132.     POPUP "&Help"
  133.     BEGIN
  134.         MENUITEM "&About Enroll...",            ID_APP_ABOUT
  135.     END
  136. END
  137.  
  138.  
  139. /////////////////////////////////////////////////////////////////////////////
  140. //
  141. // Accelerator
  142. //
  143.  
  144. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  145. BEGIN
  146.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  147.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  148.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  149.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  150.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  151.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  152.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  153.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  154.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  155.     VK_F6,          ID_NEXT_PANE,           VIRTKEY
  156.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  157. END
  158.  
  159.  
  160. /////////////////////////////////////////////////////////////////////////////
  161. //
  162. // Dialog
  163. //
  164.  
  165. IDD_ABOUTBOX DIALOG DISCARDABLE  34, 22, 217, 55
  166. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  167. CAPTION "About Enroll"
  168. FONT 8, "MS Sans Serif"
  169. BEGIN
  170.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,18,20
  171.     LTEXT           "Enroll Version 1.0",IDC_STATIC,40,10,119,8
  172.     LTEXT           "Copyright ⌐ 1998",IDC_STATIC,40,25,119,8
  173.     DEFPUSHBUTTON   "OK",IDOK,176,6,32,14,WS_GROUP
  174. END
  175.  
  176. IDD_ENROLL_FORM DIALOG DISCARDABLE  0, 0, 183, 110
  177. STYLE WS_CHILD
  178. FONT 8, "MS Sans Serif"
  179. BEGIN
  180.     LTEXT           "Course:",IDC_STATIC,10,10,30,8
  181.     EDITTEXT        IDC_COURSE,65,5,40,13,ES_AUTOHSCROLL | ES_READONLY
  182.     LTEXT           "Section:",IDC_STATIC,110,10,30,8
  183.     EDITTEXT        IDC_SECTION,145,5,25,13,ES_AUTOHSCROLL | ES_READONLY
  184.     LTEXT           "Instructor:",IDC_STATIC,10,30,35,8
  185.     EDITTEXT        IDC_INSTRUCTOR,65,25,40,13,ES_AUTOHSCROLL
  186.     LTEXT           "Room:",IDC_STATIC,10,50,30,8
  187.     EDITTEXT        IDC_ROOM,65,50,40,13,ES_AUTOHSCROLL
  188.     LTEXT           "Schedule:",IDC_STATIC,10,70,30,8
  189.     EDITTEXT        IDC_SCHEDULE,65,70,75,13,ES_AUTOHSCROLL
  190.     LTEXT           "Capacity:",IDC_STATIC,10,90,30,8
  191.     EDITTEXT        IDC_CAPACITY,65,90,25,13,ES_AUTOHSCROLL
  192. END
  193.  
  194.  
  195. /////////////////////////////////////////////////////////////////////////////
  196. //
  197. // Version
  198. //
  199.  
  200. VS_VERSION_INFO VERSIONINFO
  201.  FILEVERSION 1,0,0,1
  202.  PRODUCTVERSION 1,0,0,1
  203.  FILEFLAGSMASK 0x3fL
  204. #ifdef _DEBUG
  205.  FILEFLAGS 0x1L
  206. #else
  207.  FILEFLAGS 0x0L
  208. #endif
  209.  FILEOS 0x4L
  210.  FILETYPE 0x1L
  211.  FILESUBTYPE 0x0L
  212. BEGIN
  213.     BLOCK "StringFileInfo"
  214.     BEGIN
  215.         BLOCK "040904B0"
  216.         BEGIN
  217.             VALUE "CompanyName", "\0"
  218.             VALUE "FileDescription", "ENROLL MFC Application\0"
  219.             VALUE "FileVersion", "1, 0, 0, 1\0"
  220.             VALUE "InternalName", "ENROLL\0"
  221.             VALUE "LegalCopyright", "Copyright ⌐ 1998\0"
  222.             VALUE "LegalTrademarks", "\0"
  223.             VALUE "OriginalFilename", "ENROLL.EXE\0"
  224.             VALUE "ProductName", "ENROLL Application\0"
  225.             VALUE "ProductVersion", "1, 0, 0, 1\0"
  226.         END
  227.     END
  228.     BLOCK "VarFileInfo"
  229.     BEGIN
  230.         VALUE "Translation", 0x409, 1200
  231.     END
  232. END
  233.  
  234.  
  235.  
  236. /////////////////////////////////////////////////////////////////////////////
  237. //
  238. // DESIGNINFO
  239. //
  240.  
  241. #ifdef APSTUDIO_INVOKED
  242. GUIDELINES DESIGNINFO DISCARDABLE
  243. BEGIN
  244.     IDD_ABOUTBOX, DIALOG
  245.     BEGIN
  246.         LEFTMARGIN, 7
  247.         RIGHTMARGIN, 210
  248.         TOPMARGIN, 7
  249.         BOTTOMMARGIN, 48
  250.     END
  251.  
  252.     IDD_ENROLL_FORM, DIALOG
  253.     BEGIN
  254.         LEFTMARGIN, 7
  255.         RIGHTMARGIN, 178
  256.         TOPMARGIN, 7
  257.         BOTTOMMARGIN, 86
  258.     END
  259. END
  260. #endif    // APSTUDIO_INVOKED
  261.  
  262.  
  263. /////////////////////////////////////////////////////////////////////////////
  264. //
  265. // String Table
  266. //
  267.  
  268. STRINGTABLE DISCARDABLE
  269. BEGIN
  270.     IDP_FAILED_OPEN_DATABASE "Cannot open database."
  271. END
  272.  
  273. STRINGTABLE PRELOAD DISCARDABLE
  274. BEGIN
  275.     IDR_MAINFRAME           "Enroll\n\nEnroll\n\n\nEnroll.Document.1\nEnroll Document"
  276. END
  277.  
  278. STRINGTABLE PRELOAD DISCARDABLE
  279. BEGIN
  280.     AFX_IDS_APP_TITLE       "Enroll"
  281.     AFX_IDS_IDLEMESSAGE     "Ready"
  282. END
  283.  
  284. STRINGTABLE DISCARDABLE
  285. BEGIN
  286.     ID_INDICATOR_EXT        "EXT"
  287.     ID_INDICATOR_CAPS       "CAP"
  288.     ID_INDICATOR_NUM        "NUM"
  289.     ID_INDICATOR_SCRL       "SCRL"
  290.     ID_INDICATOR_OVR        "OVR"
  291.     ID_INDICATOR_REC        "REC"
  292. END
  293.  
  294. STRINGTABLE DISCARDABLE
  295. BEGIN
  296.     ID_FILE_PAGE_SETUP      "Change the printing options\nPage Setup"
  297.     ID_FILE_PRINT_SETUP     "Change the printer and printing options\nPrint Setup"
  298.     ID_FILE_PRINT           "Print the active document\nPrint"
  299.     ID_FILE_PRINT_PREVIEW   "Display full pages\nPrint Preview"
  300. END
  301.  
  302. STRINGTABLE DISCARDABLE
  303. BEGIN
  304.     ID_APP_ABOUT            "Display program information, version number and copyright\nAbout"
  305.     ID_APP_EXIT             "Quit the application; prompts to save documents\nExit"
  306. END
  307.  
  308. STRINGTABLE DISCARDABLE
  309. BEGIN
  310.     ID_FILE_MRU_FILE1       "Open this document"
  311.     ID_FILE_MRU_FILE2       "Open this document"
  312.     ID_FILE_MRU_FILE3       "Open this document"
  313.     ID_FILE_MRU_FILE4       "Open this document"
  314. END
  315.  
  316. STRINGTABLE DISCARDABLE
  317. BEGIN
  318.     ID_NEXT_PANE            "Switch to the next window pane\nNext Pane"
  319.     ID_PREV_PANE            "Switch back to the previous window pane\nPrevious Pane"
  320. END
  321.  
  322. STRINGTABLE DISCARDABLE
  323. BEGIN
  324.     ID_WINDOW_SPLIT         "Split the active window into panes\nSplit"
  325. END
  326.  
  327. STRINGTABLE DISCARDABLE
  328. BEGIN
  329.     ID_EDIT_CLEAR           "Erase the selection\nErase"
  330.     ID_EDIT_CLEAR_ALL       "Erase everything\nErase All"
  331.     ID_EDIT_COPY            "Copy the selection and put it on the Clipboard\nCopy"
  332.     ID_EDIT_CUT             "Cut the selection and put it on the Clipboard\nCut"
  333.     ID_EDIT_FIND            "Find the specified text\nFind"
  334.     ID_EDIT_PASTE           "Insert Clipboard contents\nPaste"
  335.     ID_EDIT_REPEAT          "Repeat the last action\nRepeat"
  336.     ID_EDIT_REPLACE         "Replace specific text with different text\nReplace"
  337.     ID_EDIT_SELECT_ALL      "Select the entire document\nSelect All"
  338.     ID_EDIT_UNDO            "Undo the last action\nUndo"
  339.     ID_EDIT_REDO            "Redo the previously undone action\nRedo"
  340. END
  341.  
  342. STRINGTABLE DISCARDABLE
  343. BEGIN
  344.     ID_VIEW_TOOLBAR         "Show or hide the toolbar\nToggle ToolBar"
  345.     ID_VIEW_STATUS_BAR      "Show or hide the status bar\nToggle StatusBar"
  346. END
  347.  
  348. STRINGTABLE DISCARDABLE
  349. BEGIN
  350.     ID_RECORD_FIRST         "Move to first record\nFirst Record"
  351.     ID_RECORD_LAST          "Move to final record\nLast Record"
  352.     ID_RECORD_NEXT          "Move to next record\nNext Record"
  353.     ID_RECORD_PREV          "Move to previous record\nPrevious Record"
  354. END
  355.  
  356. STRINGTABLE DISCARDABLE
  357. BEGIN
  358.     AFX_IDS_SCSIZE          "Change the window size"
  359.     AFX_IDS_SCMOVE          "Change the window position"
  360.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  361.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  362.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  363.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  364.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  365. END
  366.  
  367. STRINGTABLE DISCARDABLE
  368. BEGIN
  369.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  370.     AFX_IDS_SCTASKLIST      "Activate Task List"
  371. END
  372.  
  373. STRINGTABLE DISCARDABLE
  374. BEGIN
  375.     AFX_IDS_PREVIEW_CLOSE   "Close print preview mode\nCancel Preview"
  376. END
  377.  
  378. #endif    // English (U.S.) resources
  379. /////////////////////////////////////////////////////////////////////////////
  380.  
  381.  
  382.  
  383. #ifndef APSTUDIO_INVOKED
  384. /////////////////////////////////////////////////////////////////////////////
  385. //
  386. // Generated from the TEXTINCLUDE 3 resource.
  387. //
  388. #define _AFX_NO_SPLITTER_RESOURCES
  389. #define _AFX_NO_OLE_RESOURCES
  390. #define _AFX_NO_TRACKER_RESOURCES
  391. #define _AFX_NO_PROPERTY_RESOURCES
  392.  
  393. #include "res\enroll.rc2"  // non-App Studio edited resources
  394.  
  395. #include "afxres.rc"    // Standard components
  396. #include "afxprint.rc"  // printing/print preview resources
  397. #include "afxdb.rc"     // Database resources
  398.  
  399. /////////////////////////////////////////////////////////////////////////////
  400. #endif    // not APSTUDIO_INVOKED
  401.