ENROLL.RC
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:11k
源码类别:

Windows编程

开发平台:

Visual C++

  1. //Microsoft Visual C++ generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "afxres.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. #undef APSTUDIO_READONLY_SYMBOLS
  12. #ifdef APSTUDIO_INVOKED
  13. /////////////////////////////////////////////////////////////////////////////
  14. //
  15. // TEXTINCLUDE
  16. //
  17. 1 TEXTINCLUDE DISCARDABLE
  18. BEGIN
  19. "resource.h"
  20. END
  21. 2 TEXTINCLUDE DISCARDABLE
  22. BEGIN
  23. "#include ""afxres.h""rn"
  24. ""
  25. END
  26. 3 TEXTINCLUDE DISCARDABLE
  27. BEGIN
  28. "#define _AFX_NO_SPLITTER_RESOURCESrn"
  29. "#define _AFX_NO_OLE_RESOURCESrn"
  30. "#define _AFX_NO_TRACKER_RESOURCESrn"
  31. "#define _AFX_NO_PROPERTY_RESOURCESrn"
  32. "rn"
  33. "#include ""res\enroll.rc2""  // non-App Studio edited resourcesrn"
  34. "rn"
  35. "#include ""afxres.rc""  // Standard componentsrn"
  36. "#include ""afxprint.rc""  // printing/print preview resourcesrn"
  37. "#include ""afxdb.rc""              // Database resourcesrn"
  38. ""
  39. END
  40. /////////////////////////////////////////////////////////////////////////////
  41. #endif    // APSTUDIO_INVOKED
  42. /////////////////////////////////////////////////////////////////////////////
  43. //
  44. // Icon
  45. //
  46. IDR_MAINFRAME           ICON    DISCARDABLE     "RES\ENROLL.ICO"
  47. /////////////////////////////////////////////////////////////////////////////
  48. //
  49. // Bitmap
  50. //
  51. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "RES\TOOLBAR.BMP"
  52. /////////////////////////////////////////////////////////////////////////////
  53. //
  54. // Toolbar
  55. //
  56. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  57. BEGIN
  58. BUTTON      ID_EDIT_CUT
  59. BUTTON      ID_EDIT_COPY
  60. BUTTON      ID_EDIT_PASTE
  61. SEPARATOR
  62. BUTTON      ID_FILE_PRINT
  63. SEPARATOR
  64. BUTTON      ID_RECORD_FIRST
  65. BUTTON      ID_RECORD_PREV
  66. BUTTON      ID_RECORD_NEXT
  67. BUTTON      ID_RECORD_LAST
  68. SEPARATOR
  69. BUTTON      ID_RECORD_ADD
  70. BUTTON      ID_RECORD_REFRESH
  71. BUTTON      ID_RECORD_DELETE
  72. SEPARATOR
  73. BUTTON      ID_APP_ABOUT
  74. END
  75. /////////////////////////////////////////////////////////////////////////////
  76. //
  77. // Menu
  78. //
  79. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  80. BEGIN
  81. POPUP "&File"
  82. BEGIN
  83. MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  84. MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  85. MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  86. MENUITEM SEPARATOR
  87. MENUITEM "E&xit",                       ID_APP_EXIT
  88. END
  89. POPUP "&Edit"
  90. BEGIN
  91. MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  92. MENUITEM SEPARATOR
  93. MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  94. MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  95. MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  96. END
  97. POPUP "F&orm"
  98. BEGIN
  99. MENUITEM "&Course",                     ID_FORM_COURSES
  100. MENUITEM "&Sections",                   ID_FORM_SECTIONS
  101. END
  102. POPUP "&Record"
  103. BEGIN
  104. MENUITEM "&Add",                        ID_RECORD_ADD
  105. MENUITEM "&RefreshtEsc",               ID_RECORD_REFRESH
  106. MENUITEM "&Delete",                     ID_RECORD_DELETE
  107. MENUITEM SEPARATOR
  108. MENUITEM "&First Record",               ID_RECORD_FIRST
  109. MENUITEM "&Previous Record",            ID_RECORD_PREV
  110. MENUITEM "&Next Record",                ID_RECORD_NEXT
  111. MENUITEM "&Last Record",                ID_RECORD_LAST
  112. END
  113. POPUP "&View"
  114. BEGIN
  115. MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  116. MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  117. END
  118. POPUP "&Help"
  119. BEGIN
  120. MENUITEM "&About Enroll...",            ID_APP_ABOUT
  121. END
  122. END
  123. /////////////////////////////////////////////////////////////////////////////
  124. //
  125. // Accelerator
  126. //
  127. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  128. BEGIN
  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. "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL, NOINVERT
  139. "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL, NOINVERT
  140. END
  141. /////////////////////////////////////////////////////////////////////////////
  142. //
  143. // Dialog
  144. //
  145. IDD_ABOUTBOX DIALOG DISCARDABLE  34, 22, 217, 55
  146. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  147. CAPTION "About Enroll"
  148. FONT 8, "MS Sans Serif"
  149. BEGIN
  150. ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  151. LTEXT           "Enroll Application Version 1.0",IDC_STATIC,40,10,119,8
  152. LTEXT           "Copyright 251 1998",IDC_STATIC,40,25,119,8
  153. DEFPUSHBUTTON   "OK",IDOK,176,6,32,14,WS_GROUP
  154. END
  155. IDD_ENROLL_FORM DIALOG DISCARDABLE  0, 0, 196, 110
  156. STYLE WS_CHILD | WS_BORDER
  157. FONT 8, "MS Sans Serif"
  158. BEGIN
  159. LTEXT           "Course:",IDC_STATIC,10,10,30,8
  160. LTEXT           "Section:",IDC_STATIC,125,10,30,8
  161. EDITTEXT        IDC_SECTION,160,5,25,13,ES_AUTOHSCROLL | ES_READONLY
  162. LTEXT           "Instructor:",IDC_STATIC,10,30,35,8
  163. EDITTEXT        IDC_INSTRUCTOR,65,25,40,13,ES_AUTOHSCROLL
  164. LTEXT           "Room:",IDC_STATIC,10,50,30,8
  165. EDITTEXT        IDC_ROOM,65,50,40,13,ES_AUTOHSCROLL
  166. LTEXT           "Schedule:",IDC_STATIC,10,70,30,8
  167. EDITTEXT        IDC_SCHEDULE,65,70,75,13,ES_AUTOHSCROLL
  168. LTEXT           "Capacity:",IDC_STATIC,10,90,30,8
  169. EDITTEXT        IDC_CAPACITY,65,90,25,13,ES_AUTOHSCROLL
  170. COMBOBOX        IDC_COURSELIST,65,5,55,65,CBS_DROPDOWNLIST | CBS_SORT |
  171. WS_VSCROLL | WS_TABSTOP
  172. END
  173. IDD_COURSE_FORM DIALOG DISCARDABLE  0, 0, 185, 65
  174. STYLE WS_CHILD | WS_BORDER
  175. FONT 8, "MS Sans Serif"
  176. BEGIN
  177. LTEXT           "CourseID:",IDC_STATIC,10,15,34,8
  178. EDITTEXT        IDC_COURSEID,50,10,40,13,ES_AUTOHSCROLL | ES_READONLY
  179. LTEXT           "Title:",IDC_STATIC,10,30,30,8
  180. EDITTEXT        IDC_TITLE,50,25,125,13,ES_AUTOHSCROLL
  181. LTEXT           "Hours:",IDC_STATIC,10,45,30,8
  182. EDITTEXT        IDC_HOURS,50,40,40,13,ES_AUTOHSCROLL
  183. END
  184. /////////////////////////////////////////////////////////////////////////////
  185. //
  186. // String Table
  187. //
  188. STRINGTABLE DISCARDABLE
  189. BEGIN
  190. IDP_FAILED_OPEN_DATABASE "Cannot open database."
  191. END
  192. STRINGTABLE PRELOAD DISCARDABLE
  193. BEGIN
  194. IDR_MAINFRAME           "Enroll Windows ApplicationnEnrollnEnroll DocumentnnnEnroll.DocumentnEnroll Document"
  195. IDS_CANNOT_DELETE_COURSE_WITH_SECTION
  196. "Cannot delete course with section.  Remove all section of course before deleting."
  197. END
  198. STRINGTABLE PRELOAD DISCARDABLE
  199. BEGIN
  200. AFX_IDS_APP_TITLE       "Enroll Windows Application"
  201. AFX_IDS_IDLEMESSAGE     "Ready"
  202. END
  203. STRINGTABLE DISCARDABLE
  204. BEGIN
  205. ID_INDICATOR_EXT        "EXT"
  206. ID_INDICATOR_CAPS       "CAP"
  207. ID_INDICATOR_NUM        "NUM"
  208. ID_INDICATOR_SCRL       "SCRL"
  209. ID_INDICATOR_OVR        "OVR"
  210. ID_INDICATOR_REC        "REC"
  211. END
  212. STRINGTABLE DISCARDABLE
  213. BEGIN
  214. ID_FILE_PAGE_SETUP      "Change the printing options"
  215. ID_FILE_PRINT_SETUP     "Change the printer and printing options"
  216. ID_FILE_PRINT           "Print the active document"
  217. ID_FILE_PRINT_PREVIEW   "Display full pages"
  218. END
  219. STRINGTABLE DISCARDABLE
  220. BEGIN
  221. ID_APP_ABOUT            "Display program information, version number and copyright"
  222. ID_APP_EXIT             "Quit the application; prompts to save documents"
  223. END
  224. STRINGTABLE DISCARDABLE
  225. BEGIN
  226. ID_FILE_MRU_FILE1       "Open this document"
  227. ID_FILE_MRU_FILE2       "Open this document"
  228. ID_FILE_MRU_FILE3       "Open this document"
  229. ID_FILE_MRU_FILE4       "Open this document"
  230. END
  231. STRINGTABLE DISCARDABLE
  232. BEGIN
  233. ID_NEXT_PANE            "Switch to the next window pane"
  234. ID_PREV_PANE            "Switch back to the previous window pane"
  235. END
  236. STRINGTABLE DISCARDABLE
  237. BEGIN
  238. ID_EDIT_CLEAR           "Erase the selection"
  239. ID_EDIT_CLEAR_ALL       "Erase everything"
  240. ID_EDIT_COPY            "Copy the selection and put it on the Clipboard"
  241. ID_EDIT_CUT             "Cut the selection and put it on the Clipboard"
  242. ID_EDIT_FIND            "Find the specified text"
  243. ID_EDIT_PASTE           "Insert Clipboard contents"
  244. ID_EDIT_REPEAT          "Repeat the last action"
  245. ID_EDIT_REPLACE         "Replace specific text with different text"
  246. ID_EDIT_SELECT_ALL      "Select the entire document"
  247. ID_EDIT_UNDO            "Undo the last action"
  248. ID_EDIT_REDO            "Redo the previously undone action"
  249. END
  250. STRINGTABLE DISCARDABLE
  251. BEGIN
  252. ID_VIEW_TOOLBAR         "Show or hide the toolbar"
  253. ID_VIEW_STATUS_BAR      "Show or hide the status bar"
  254. END
  255. STRINGTABLE DISCARDABLE
  256. BEGIN
  257. ID_RECORD_FIRST         "Move to first record"
  258. ID_RECORD_LAST          "Move to final record"
  259. ID_RECORD_NEXT          "Move to next record"
  260. ID_RECORD_PREV          "Move to previous record"
  261. END
  262. STRINGTABLE DISCARDABLE
  263. BEGIN
  264. AFX_IDS_SCSIZE          "Change the window size"
  265. AFX_IDS_SCMOVE          "Change the window position"
  266. AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  267. AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  268. AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  269. AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  270. AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  271. END
  272. STRINGTABLE DISCARDABLE
  273. BEGIN
  274. AFX_IDS_SCRESTORE       "Restore the window to normal size"
  275. AFX_IDS_SCTASKLIST      "Activate Task List"
  276. END
  277. STRINGTABLE DISCARDABLE
  278. BEGIN
  279. ID_RECORD_ADD           "Add a new section."
  280. ID_RECORD_REFRESH       "Cancel changes on form, or cancel Add."
  281. ID_RECORD_DELETE        "Delete section."
  282. ID_FORM_COURSE          "Show courses."
  283. ID_FORM_SECTIONS        "Show course sections."
  284. ID_FORM_COURSES         "Show course titles."
  285. ID_RECORD_SAVE          "Save changes on form for current or new record."
  286. END
  287. /////////////////////////////////////////////////////////////////////////////
  288. //
  289. // DESIGNINFO
  290. //
  291. #ifdef APSTUDIO_INVOKED
  292. GUIDELINES DESIGNINFO DISCARDABLE
  293. BEGIN
  294. IDD_ABOUTBOX, DIALOG
  295. BEGIN
  296. LEFTMARGIN, 7
  297. RIGHTMARGIN, 210
  298. TOPMARGIN, 7
  299. BOTTOMMARGIN, 48
  300. END
  301. IDD_ENROLL_FORM, DIALOG
  302. BEGIN
  303. LEFTMARGIN, 7
  304. RIGHTMARGIN, 178
  305. TOPMARGIN, 7
  306. BOTTOMMARGIN, 86
  307. END
  308. END
  309. #endif    // APSTUDIO_INVOKED
  310. #ifndef APSTUDIO_INVOKED
  311. /////////////////////////////////////////////////////////////////////////////
  312. //
  313. // Generated from the TEXTINCLUDE 3 resource.
  314. //
  315. #define _AFX_NO_SPLITTER_RESOURCES
  316. #define _AFX_NO_OLE_RESOURCES
  317. #define _AFX_NO_TRACKER_RESOURCES
  318. #define _AFX_NO_PROPERTY_RESOURCES
  319. #include "resenroll.rc2"  // non-App Studio edited resources
  320. #include "afxres.rc"  // Standard components
  321. #include "afxprint.rc"  // printing/print preview resources
  322. #include "afxdb.rc"              // Database resources
  323. /////////////////////////////////////////////////////////////////////////////
  324. #endif    // not APSTUDIO_INVOKED