home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / database / dynabind / dynabind.rc < prev    next >
Text File  |  1998-03-26  |  10KB  |  319 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.     "#include ""res\\enroll.rc2""  // non-App Studio edited resources\r\n"
  44.     "\r\n"
  45.     "#include ""afxres.rc""  // Standard components\r\n"
  46.     "#include ""afxprint.rc""  // printing/print preview resources\r\n"
  47.     "#include ""afxdb.rc""              // Database resources\r\n"
  48.     "\0"
  49. END
  50.  
  51. #endif    // APSTUDIO_INVOKED
  52.  
  53.  
  54. /////////////////////////////////////////////////////////////////////////////
  55. //
  56. // Icon
  57. //
  58.  
  59. IDR_MAINFRAME           ICON    DISCARDABLE     "RES\\ENROLL.ICO"
  60.  
  61. /////////////////////////////////////////////////////////////////////////////
  62. //
  63. // Bitmap
  64. //
  65.  
  66. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "RES\\IDR_MAIN.BMP"
  67.  
  68. /////////////////////////////////////////////////////////////////////////////
  69. //
  70. // Menu
  71. //
  72.  
  73. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  74. BEGIN
  75.     POPUP "&File"
  76.     BEGIN
  77.         MENUITEM "&Print...\tCtrl+P",           ID_FILE_PRINT
  78.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  79.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  80.         MENUITEM SEPARATOR
  81.         MENUITEM "E&xit",                       ID_APP_EXIT
  82.     END
  83.     POPUP "&Edit"
  84.     BEGIN
  85.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
  86.         MENUITEM SEPARATOR
  87.         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
  88.         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
  89.         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
  90.     END
  91.     POPUP "&Record"
  92.     BEGIN
  93.         MENUITEM "&Add",                        ID_RECORD_ADD
  94.         MENUITEM "&Refresh\tEsc",               ID_RECORD_REFRESH
  95.         MENUITEM "&Delete",                     ID_RECORD_DELETE
  96.         MENUITEM SEPARATOR
  97.         MENUITEM "&First Record",               ID_RECORD_FIRST
  98.         MENUITEM "&Previous Record",            ID_RECORD_PREV
  99.         MENUITEM "&Next Record",                ID_RECORD_NEXT
  100.         MENUITEM "&Last Record",                ID_RECORD_LAST
  101.     END
  102.     POPUP "&View"
  103.     BEGIN
  104.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  105.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  106.     END
  107.     POPUP "&Options"
  108.     BEGIN
  109.         MENUITEM "&Add fields...",              ID_OPTIONS_ADDFIELDS
  110.     END
  111.     POPUP "&Help"
  112.     BEGIN
  113.         MENUITEM "&About Enroll...",            ID_APP_ABOUT
  114.     END
  115. END
  116.  
  117.  
  118. /////////////////////////////////////////////////////////////////////////////
  119. //
  120. // Accelerator
  121. //
  122.  
  123. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  124. BEGIN
  125.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL, NOINVERT
  126.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL, NOINVERT
  127.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
  128.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL, NOINVERT
  129.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL, NOINVERT
  130.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL, NOINVERT
  131.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT, NOINVERT
  132.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT, NOINVERT
  133.     VK_ESCAPE,      ID_RECORD_REFRESH,      VIRTKEY, NOINVERT
  134.     VK_F6,          ID_NEXT_PANE,           VIRTKEY, NOINVERT
  135.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT, NOINVERT
  136.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
  137.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT, NOINVERT
  138. END
  139.  
  140.  
  141. /////////////////////////////////////////////////////////////////////////////
  142. //
  143. // Dialog
  144. //
  145.  
  146. IDD_ABOUTBOX DIALOG DISCARDABLE  34, 22, 217, 55
  147. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  148. CAPTION "About Enroll"
  149. FONT 8, "MS Sans Serif"
  150. BEGIN
  151.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,18,20
  152.     LTEXT           "Enroll Application Version 1.0",IDC_STATIC,40,10,119,8
  153.     LTEXT           "Copyright ⌐ 1993-1998",IDC_STATIC,40,25,119,8
  154.     DEFPUSHBUTTON   "OK",IDOK,176,6,32,14,WS_GROUP
  155. END
  156.  
  157. IDD_ENROLL_FORM DIALOG DISCARDABLE  0, 0, 196, 110
  158. STYLE WS_CHILD | WS_BORDER
  159. FONT 8, "MS Sans Serif"
  160. BEGIN
  161.     LTEXT           "Course:",IDC_STATIC,10,10,30,8
  162.     LTEXT           "Section:",IDC_STATIC,125,10,30,8
  163.     EDITTEXT        IDC_SECTION,160,5,25,13,ES_AUTOHSCROLL | ES_READONLY
  164.     LTEXT           "Instructor:",IDC_STATIC,10,30,35,8
  165.     EDITTEXT        IDC_INSTRUCTOR,65,25,40,13,ES_AUTOHSCROLL
  166.     LTEXT           "Room:",IDC_STATIC,10,50,30,8
  167.     EDITTEXT        IDC_ROOM,65,50,40,13,ES_AUTOHSCROLL
  168.     LTEXT           "Schedule:",IDC_STATIC,10,70,30,8
  169.     EDITTEXT        IDC_SCHEDULE,65,70,75,13,ES_AUTOHSCROLL
  170.     LTEXT           "Capacity:",IDC_STATIC_CAPACITY,10,90,30,8
  171.     EDITTEXT        IDC_CAPACITY,65,90,25,13,ES_AUTOHSCROLL
  172.     COMBOBOX        IDC_COURSELIST,65,5,55,65,CBS_DROPDOWNLIST | CBS_SORT |
  173.                     WS_VSCROLL | WS_TABSTOP
  174. END
  175.  
  176. IDD_ADDFIELD DIALOG DISCARDABLE  0, 0, 181, 63
  177. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  178. CAPTION "Add Text Field"
  179. FONT 8, "MS Sans Serif"
  180. BEGIN
  181.     LISTBOX         IDC_LIST1,11,15,95,36,LBS_SORT | LBS_NOINTEGRALHEIGHT |
  182.                     WS_VSCROLL | WS_TABSTOP
  183.     DEFPUSHBUTTON   "OK",IDOK,129,6,50,14
  184.     PUSHBUTTON      "Cancel",IDCANCEL,129,23,50,14
  185. END
  186.  
  187.  
  188. /////////////////////////////////////////////////////////////////////////////
  189. //
  190. // String Table
  191. //
  192.  
  193. STRINGTABLE PRELOAD DISCARDABLE
  194. BEGIN
  195.     IDR_MAINFRAME           "DynaBind Application\nEnroll\nEnroll Document\n\n\nEnroll.Document\nEnroll Document\nDYNA\nEnroll Files"
  196. END
  197.  
  198. STRINGTABLE PRELOAD DISCARDABLE
  199. BEGIN
  200.     AFX_IDS_APP_TITLE       "DynaBind Application"
  201.     AFX_IDS_IDLEMESSAGE     "Ready"
  202. END
  203.  
  204. STRINGTABLE DISCARDABLE
  205. BEGIN
  206.     ID_INDICATOR_EXT        "EXT"
  207.     ID_INDICATOR_CAPS       "CAP"
  208.     ID_INDICATOR_NUM        "NUM"
  209.     ID_INDICATOR_SCRL       "SCRL"
  210.     ID_INDICATOR_OVR        "OVR"
  211.     ID_INDICATOR_REC        "REC"
  212. END
  213.  
  214. STRINGTABLE DISCARDABLE
  215. BEGIN
  216.     ID_FILE_PAGE_SETUP      "Change the printing options"
  217.     ID_FILE_PRINT_SETUP     "Change the printer and printing options"
  218.     ID_FILE_PRINT           "Print the active document"
  219.     ID_FILE_PRINT_PREVIEW   "Display full pages"
  220. END
  221.  
  222. STRINGTABLE DISCARDABLE
  223. BEGIN
  224.     ID_APP_ABOUT            "Display program information, version number and copyright"
  225.     ID_APP_EXIT             "Quit the application; prompts to save documents"
  226. END
  227.  
  228. STRINGTABLE DISCARDABLE
  229. BEGIN
  230.     ID_FILE_MRU_FILE1       "Open this document"
  231.     ID_FILE_MRU_FILE2       "Open this document"
  232.     ID_FILE_MRU_FILE3       "Open this document"
  233.     ID_FILE_MRU_FILE4       "Open this document"
  234. END
  235.  
  236. STRINGTABLE DISCARDABLE
  237. BEGIN
  238.     ID_NEXT_PANE            "Switch to the next window pane"
  239.     ID_PREV_PANE            "Switch back to the previous window pane"
  240. END
  241.  
  242. STRINGTABLE DISCARDABLE
  243. BEGIN
  244.     ID_EDIT_CLEAR           "Erase the selection"
  245.     ID_EDIT_CLEAR_ALL       "Erase everything"
  246.     ID_EDIT_COPY            "Copy the selection and put it on the Clipboard"
  247.     ID_EDIT_CUT             "Cut the selection and put it on the Clipboard"
  248.     ID_EDIT_FIND            "Find the specified text"
  249.     ID_EDIT_PASTE           "Insert Clipboard contents"
  250.     ID_EDIT_REPEAT          "Repeat the last action"
  251.     ID_EDIT_REPLACE         "Replace specific text with different text"
  252.     ID_EDIT_SELECT_ALL      "Select the entire document"
  253.     ID_EDIT_UNDO            "Undo the last action"
  254.     ID_EDIT_REDO            "Redo the previously undone action"
  255. END
  256.  
  257. STRINGTABLE DISCARDABLE
  258. BEGIN
  259.     ID_VIEW_TOOLBAR         "Show or hide the toolbar"
  260.     ID_VIEW_STATUS_BAR      "Show or hide the status bar"
  261. END
  262.  
  263. STRINGTABLE DISCARDABLE
  264. BEGIN
  265.     ID_RECORD_FIRST         "Move to first record"
  266.     ID_RECORD_LAST          "Move to final record"
  267.     ID_RECORD_NEXT          "Move to next record"
  268.     ID_RECORD_PREV          "Move to previous record"
  269. END
  270.  
  271. STRINGTABLE DISCARDABLE
  272. BEGIN
  273.     AFX_IDS_SCSIZE          "Change the window size"
  274.     AFX_IDS_SCMOVE          "Change the window position"
  275.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  276.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  277.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  278.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  279.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  280. END
  281.  
  282. STRINGTABLE DISCARDABLE
  283. BEGIN
  284.     AFX_IDS_PREVIEW_CLOSE   "Close print preview mode"
  285. END
  286.  
  287. STRINGTABLE DISCARDABLE
  288. BEGIN
  289.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  290.     AFX_IDS_SCTASKLIST      "Activate Task List"
  291. END
  292.  
  293. STRINGTABLE DISCARDABLE
  294. BEGIN
  295.     ID_RECORD_ADD           "Add a new section."
  296.     ID_RECORD_REFRESH       "Cancel changes on form, or cancel Add."
  297.     ID_RECORD_DELETE        "Delete section."
  298.     ID_OPTIONS_ADDFIELDS    "Dynamically add columns to recordset and form."
  299. END
  300.  
  301. #endif    // English (U.S.) resources
  302. /////////////////////////////////////////////////////////////////////////////
  303.  
  304.  
  305.  
  306. #ifndef APSTUDIO_INVOKED
  307. /////////////////////////////////////////////////////////////////////////////
  308. //
  309. // Generated from the TEXTINCLUDE 3 resource.
  310. //
  311. #include "res\enroll.rc2"  // non-App Studio edited resources
  312.  
  313. #include "afxres.rc"  // Standard components
  314. #include "afxprint.rc"  // printing/print preview resources
  315. #include "afxdb.rc"              // Database resources
  316.  
  317. /////////////////////////////////////////////////////////////////////////////
  318. #endif    // not APSTUDIO_INVOKED
  319.