Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

476 lines
13 KiB

  1. //Microsoft Developer Studio 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. /////////////////////////////////////////////////////////////////////////////
  13. // English (U.S.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  17. #pragma code_page(1252)
  18. #endif //_WIN32
  19. #ifdef APSTUDIO_INVOKED
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // TEXTINCLUDE
  23. //
  24. 1 TEXTINCLUDE DISCARDABLE
  25. BEGIN
  26. "resource.h\0"
  27. END
  28. 2 TEXTINCLUDE DISCARDABLE
  29. BEGIN
  30. "#include ""afxres.h""\r\n"
  31. "\0"
  32. END
  33. 3 TEXTINCLUDE DISCARDABLE
  34. BEGIN
  35. "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
  36. "#define _AFX_NO_OLE_RESOURCES\r\n"
  37. "#define _AFX_NO_TRACKER_RESOURCES\r\n"
  38. "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
  39. "\r\n"
  40. "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
  41. "#ifdef _WIN32\r\n"
  42. "LANGUAGE 9, 1\r\n"
  43. "#pragma code_page(1252)\r\n"
  44. "#endif\r\n"
  45. "#include ""res\\MDI.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
  46. "#include ""afxres.rc"" // Standard components\r\n"
  47. "#endif\0"
  48. END
  49. #endif // APSTUDIO_INVOKED
  50. /////////////////////////////////////////////////////////////////////////////
  51. //
  52. // Icon
  53. //
  54. // Icon with lowest ID value placed first to ensure application icon
  55. // remains consistent on all systems.
  56. IDR_HELLOTYPE ICON DISCARDABLE "res\\HelloDoc.ico"
  57. AFX_IDI_STD_MDIFRAME ICON DISCARDABLE "mdi.ico"
  58. IDR_BOUNCETYPE ICON DISCARDABLE "res\\idr_boun.ico"
  59. /////////////////////////////////////////////////////////////////////////////
  60. //
  61. // Bitmap
  62. //
  63. IDR_MAINFRAME BITMAP MOVEABLE PURE "res\\Toolbar.bmp"
  64. /////////////////////////////////////////////////////////////////////////////
  65. //
  66. // Toolbar
  67. //
  68. IDR_MAINFRAME TOOLBAR DISCARDABLE 16, 15
  69. BEGIN
  70. BUTTON ID_FILE_NEWHELLO
  71. BUTTON ID_FILE_NEWBOUNCE
  72. SEPARATOR
  73. BUTTON ID_SPEED_SLOW
  74. BUTTON ID_SPEED_FAST
  75. SEPARATOR
  76. BUTTON ID_CUSTOM
  77. BUTTON ID_BLACK
  78. BUTTON ID_WHITE
  79. SEPARATOR
  80. BUTTON ID_RED
  81. BUTTON ID_GREEN
  82. BUTTON ID_BLUE
  83. END
  84. /////////////////////////////////////////////////////////////////////////////
  85. //
  86. // Menu
  87. //
  88. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  89. BEGIN
  90. POPUP "&File"
  91. BEGIN
  92. MENUITEM "New &Bounce\tCtrl+B", ID_FILE_NEWBOUNCE
  93. MENUITEM "New &Hello\tCtrl+H", ID_FILE_NEWHELLO
  94. MENUITEM SEPARATOR
  95. MENUITEM "E&xit", ID_APP_EXIT
  96. END
  97. POPUP "&View"
  98. BEGIN
  99. MENUITEM "&Toolbar", ID_VIEW_TOOLBAR
  100. MENUITEM "&Status Bar", ID_VIEW_STATUS_BAR
  101. END
  102. POPUP "&Help"
  103. BEGIN
  104. MENUITEM "&About MDI...", ID_APP_ABOUT
  105. END
  106. END
  107. IDR_HELLOTYPE MENU PRELOAD DISCARDABLE
  108. BEGIN
  109. POPUP "&File"
  110. BEGIN
  111. MENUITEM "New &Hello\tCtrl+H", ID_FILE_NEWHELLO
  112. MENUITEM "New &Bounce\tCtrl+B", ID_FILE_NEWBOUNCE
  113. MENUITEM SEPARATOR
  114. MENUITEM "E&xit", ID_APP_EXIT
  115. END
  116. POPUP "&Color"
  117. BEGIN
  118. MENUITEM "&Custom...", ID_CUSTOM
  119. MENUITEM "&Black", ID_BLACK
  120. MENUITEM "&White", ID_WHITE
  121. MENUITEM "&Red", ID_RED
  122. MENUITEM "&Green", ID_GREEN
  123. MENUITEM "B&lue", ID_BLUE
  124. END
  125. POPUP "&View"
  126. BEGIN
  127. MENUITEM "&Toolbar", ID_VIEW_TOOLBAR
  128. MENUITEM "&Status Bar", ID_VIEW_STATUS_BAR
  129. END
  130. POPUP "&Window"
  131. BEGIN
  132. MENUITEM "&Cascade", ID_WINDOW_CASCADE
  133. MENUITEM "&Tile", ID_WINDOW_TILE_HORZ
  134. MENUITEM "&Arrange Icons", ID_WINDOW_ARRANGE
  135. END
  136. POPUP "&Help"
  137. BEGIN
  138. MENUITEM "&About MDI...", ID_APP_ABOUT
  139. END
  140. END
  141. IDR_BOUNCETYPE MENU PRELOAD DISCARDABLE
  142. BEGIN
  143. POPUP "&File"
  144. BEGIN
  145. MENUITEM "New &Bounce\tCtrl+B", ID_FILE_NEWBOUNCE
  146. MENUITEM "New &Hello\tCtrl+H", ID_FILE_NEWHELLO
  147. MENUITEM SEPARATOR
  148. MENUITEM "E&xit", ID_APP_EXIT
  149. END
  150. POPUP "&Color"
  151. BEGIN
  152. MENUITEM "&Custom...", ID_CUSTOM
  153. MENUITEM "&Black", ID_BLACK
  154. MENUITEM "&Red", ID_RED
  155. MENUITEM "&White", ID_WHITE
  156. MENUITEM "&Green", ID_GREEN
  157. MENUITEM "B&lue", ID_BLUE
  158. END
  159. POPUP "&Speed"
  160. BEGIN
  161. MENUITEM "&Slow", ID_SPEED_SLOW
  162. MENUITEM "&Fast", ID_SPEED_FAST
  163. END
  164. POPUP "&View"
  165. BEGIN
  166. MENUITEM "&Toolbar", ID_VIEW_TOOLBAR
  167. MENUITEM "&Status Bar", ID_VIEW_STATUS_BAR
  168. END
  169. POPUP "&Window"
  170. BEGIN
  171. MENUITEM "&Cascade", ID_WINDOW_CASCADE
  172. MENUITEM "&Tile", ID_WINDOW_TILE_HORZ
  173. MENUITEM "&Arrange Icons", ID_WINDOW_ARRANGE
  174. END
  175. POPUP "&Help"
  176. BEGIN
  177. MENUITEM "&About MDI...", ID_APP_ABOUT
  178. END
  179. END
  180. /////////////////////////////////////////////////////////////////////////////
  181. //
  182. // Accelerator
  183. //
  184. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  185. BEGIN
  186. "N", ID_FILE_NEW, VIRTKEY, CONTROL
  187. "O", ID_FILE_OPEN, VIRTKEY, CONTROL
  188. "S", ID_FILE_SAVE, VIRTKEY, CONTROL
  189. "Z", ID_EDIT_UNDO, VIRTKEY, CONTROL
  190. "X", ID_EDIT_CUT, VIRTKEY, CONTROL
  191. "C", ID_EDIT_COPY, VIRTKEY, CONTROL
  192. "V", ID_EDIT_PASTE, VIRTKEY, CONTROL
  193. VK_BACK, ID_EDIT_UNDO, VIRTKEY, ALT
  194. VK_DELETE, ID_EDIT_CUT, VIRTKEY, SHIFT
  195. VK_INSERT, ID_EDIT_COPY, VIRTKEY, CONTROL
  196. VK_INSERT, ID_EDIT_PASTE, VIRTKEY, SHIFT
  197. VK_F6, ID_NEXT_PANE, VIRTKEY
  198. VK_F6, ID_PREV_PANE, VIRTKEY, SHIFT
  199. END
  200. /////////////////////////////////////////////////////////////////////////////
  201. //
  202. // Dialog
  203. //
  204. IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 168, 74
  205. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  206. CAPTION "About MDI"
  207. FONT 8, "MS Sans Serif"
  208. BEGIN
  209. ICON AFX_IDI_STD_MDIFRAME,IDC_STATIC,11,17,18,20
  210. LTEXT "MDI Version 2.0",IDC_STATIC,49,17,56,8,SS_NOPREFIX
  211. LTEXT "Copyright � 1998",IDC_STATIC,49,32,56,8
  212. DEFPUSHBUTTON "OK",IDOK,129,7,32,14,WS_GROUP
  213. LTEXT "Author: Frank Crockett",IDC_STATIC,49,46,76,8
  214. END
  215. /////////////////////////////////////////////////////////////////////////////
  216. //
  217. // Version
  218. //
  219. VS_VERSION_INFO VERSIONINFO
  220. FILEVERSION 1,0,0,1
  221. PRODUCTVERSION 1,0,0,1
  222. FILEFLAGSMASK 0x3fL
  223. #ifdef _DEBUG
  224. FILEFLAGS 0x1L
  225. #else
  226. FILEFLAGS 0x0L
  227. #endif
  228. FILEOS 0x4L
  229. FILETYPE 0x1L
  230. FILESUBTYPE 0x0L
  231. BEGIN
  232. BLOCK "StringFileInfo"
  233. BEGIN
  234. BLOCK "040904B0"
  235. BEGIN
  236. VALUE "CompanyName", "\0"
  237. VALUE "FileDescription", "MDI MFC Application\0"
  238. VALUE "FileVersion", "1, 0, 0, 1\0"
  239. VALUE "InternalName", "MDI\0"
  240. VALUE "LegalCopyright", "Copyright � 1998\0"
  241. VALUE "LegalTrademarks", "\0"
  242. VALUE "OriginalFilename", "MDI.EXE\0"
  243. VALUE "ProductName", "MDI Application\0"
  244. VALUE "ProductVersion", "1, 0, 0, 1\0"
  245. END
  246. END
  247. BLOCK "VarFileInfo"
  248. BEGIN
  249. VALUE "Translation", 0x409, 1200
  250. END
  251. END
  252. /////////////////////////////////////////////////////////////////////////////
  253. //
  254. // DESIGNINFO
  255. //
  256. #ifdef APSTUDIO_INVOKED
  257. GUIDELINES DESIGNINFO DISCARDABLE
  258. BEGIN
  259. IDD_ABOUTBOX, DIALOG
  260. BEGIN
  261. LEFTMARGIN, 7
  262. RIGHTMARGIN, 161
  263. TOPMARGIN, 7
  264. BOTTOMMARGIN, 67
  265. END
  266. END
  267. #endif // APSTUDIO_INVOKED
  268. /////////////////////////////////////////////////////////////////////////////
  269. //
  270. // String Table
  271. //
  272. STRINGTABLE PRELOAD DISCARDABLE
  273. BEGIN
  274. IDR_MAINFRAME "MDI"
  275. IDR_HELLOTYPE "\nHello\nHello\n\n\nMDI.Document\nHello Document"
  276. END
  277. STRINGTABLE PRELOAD DISCARDABLE
  278. BEGIN
  279. AFX_IDS_APP_TITLE "MDI"
  280. AFX_IDS_IDLEMESSAGE "Ready"
  281. END
  282. STRINGTABLE DISCARDABLE
  283. BEGIN
  284. ID_INDICATOR_EXT "EXT"
  285. ID_INDICATOR_CAPS "CAP"
  286. ID_INDICATOR_NUM "NUM"
  287. ID_INDICATOR_SCRL "SCRL"
  288. ID_INDICATOR_OVR "OVR"
  289. ID_INDICATOR_REC "REC"
  290. END
  291. STRINGTABLE DISCARDABLE
  292. BEGIN
  293. ID_FILE_NEW "Create a new Hello document\nNew Hello"
  294. ID_FILE_OPEN "Open an existing document\nOpen"
  295. ID_FILE_CLOSE "Close the active document\nClose"
  296. ID_FILE_SAVE "Save the active document\nSave"
  297. ID_FILE_SAVE_AS "Save the active document with a new name\nSave As"
  298. END
  299. STRINGTABLE DISCARDABLE
  300. BEGIN
  301. ID_APP_ABOUT "Display program information, version number and copyright\nAbout"
  302. ID_APP_EXIT "Quit the application; prompts to save documents\nExit"
  303. END
  304. STRINGTABLE DISCARDABLE
  305. BEGIN
  306. ID_FILE_MRU_FILE1 "Open this document"
  307. ID_FILE_MRU_FILE2 "Open this document"
  308. ID_FILE_MRU_FILE3 "Open this document"
  309. ID_FILE_MRU_FILE4 "Open this document"
  310. ID_FILE_MRU_FILE5 "Open this document"
  311. ID_FILE_MRU_FILE6 "Open this document"
  312. ID_FILE_MRU_FILE7 "Open this document"
  313. ID_FILE_MRU_FILE8 "Open this document"
  314. ID_FILE_MRU_FILE9 "Open this document"
  315. ID_FILE_MRU_FILE10 "Open this document"
  316. ID_FILE_MRU_FILE11 "Open this document"
  317. ID_FILE_MRU_FILE12 "Open this document"
  318. ID_FILE_MRU_FILE13 "Open this document"
  319. ID_FILE_MRU_FILE14 "Open this document"
  320. ID_FILE_MRU_FILE15 "Open this document"
  321. ID_FILE_MRU_FILE16 "Open this document"
  322. END
  323. STRINGTABLE DISCARDABLE
  324. BEGIN
  325. ID_NEXT_PANE "Switch to the next window pane\nNext Pane"
  326. ID_PREV_PANE "Switch back to the previous window pane\nPrevious Pane"
  327. END
  328. STRINGTABLE DISCARDABLE
  329. BEGIN
  330. ID_WINDOW_NEW "Open another window for the active document\nNew Window"
  331. ID_WINDOW_ARRANGE "Arrange icons at the bottom of the window\nArrange Icons"
  332. ID_WINDOW_CASCADE "Arrange windows so they overlap\nCascade Windows"
  333. ID_WINDOW_TILE_HORZ "Arrange windows as non-overlapping tiles\nTile Windows"
  334. ID_WINDOW_TILE_VERT "Arrange windows as non-overlapping tiles\nTile Windows"
  335. ID_WINDOW_SPLIT "Split the active window into panes\nSplit"
  336. END
  337. STRINGTABLE DISCARDABLE
  338. BEGIN
  339. ID_EDIT_CLEAR "Erase the selection\nErase"
  340. ID_EDIT_CLEAR_ALL "Erase everything\nErase All"
  341. ID_EDIT_COPY "Copy the selection and put it on the Clipboard\nCopy"
  342. ID_EDIT_CUT "Cut the selection and put it on the Clipboard\nCut"
  343. ID_EDIT_FIND "Find the specified text\nFind"
  344. ID_EDIT_PASTE "Insert Clipboard contents\nPaste"
  345. ID_EDIT_REPEAT "Repeat the last action\nRepeat"
  346. ID_EDIT_REPLACE "Replace specific text with different text\nReplace"
  347. ID_EDIT_SELECT_ALL "Select the entire document\nSelect All"
  348. ID_EDIT_UNDO "Undo the last action\nUndo"
  349. ID_EDIT_REDO "Redo the previously undone action\nRedo"
  350. END
  351. STRINGTABLE DISCARDABLE
  352. BEGIN
  353. ID_VIEW_TOOLBAR "Show or hide the toolbar\nToggle ToolBar"
  354. ID_VIEW_STATUS_BAR "Show or hide the status bar\nToggle StatusBar"
  355. END
  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. STRINGTABLE DISCARDABLE
  367. BEGIN
  368. AFX_IDS_SCRESTORE "Restore the window to normal size"
  369. AFX_IDS_SCTASKLIST "Activate Task List"
  370. AFX_IDS_MDICHILD "Activate this window"
  371. END
  372. STRINGTABLE DISCARDABLE
  373. BEGIN
  374. ID_FILE_NEWHELLO "Creates a new Hello document\nNew Hello"
  375. ID_FILE_NEWBOUNCE "Creates a new Bounce document\nNew Bounce"
  376. ID_SPEED_SLOW "Decrease ball speed\nSlow"
  377. ID_SPEED_FAST "Increase ball speed\nFast"
  378. IDS_NOHELLOTEMPLATE "Hello template not found"
  379. IDS_NOBOUNCETEMPLATE "Bounce template not found"
  380. ID_MIX "Mixes the current color selections\nMix colors"
  381. END
  382. STRINGTABLE DISCARDABLE
  383. BEGIN
  384. ID_BLACK "Sets color to black\nBlack"
  385. ID_RED "Sets color to red\nRed"
  386. ID_GREEN "Sets color to green\nGreen"
  387. ID_BLUE "Sets color to blue\nBlue"
  388. ID_WHITE "Sets color to white\nWhite"
  389. ID_CUSTOM "Sets color to a custom color\nCustom color"
  390. END
  391. STRINGTABLE DISCARDABLE
  392. BEGIN
  393. IDR_BOUNCETYPE "\nBounce\nBounce\n\n\nMDI.Document\nBounce Document"
  394. END
  395. STRINGTABLE DISCARDABLE
  396. BEGIN
  397. IDS_UNKCOLOR "Unknown color type"
  398. END
  399. #endif // English (U.S.) resources
  400. /////////////////////////////////////////////////////////////////////////////
  401. #ifndef APSTUDIO_INVOKED
  402. /////////////////////////////////////////////////////////////////////////////
  403. //
  404. // Generated from the TEXTINCLUDE 3 resource.
  405. //
  406. #define _AFX_NO_SPLITTER_RESOURCES
  407. #define _AFX_NO_OLE_RESOURCES
  408. #define _AFX_NO_TRACKER_RESOURCES
  409. #define _AFX_NO_PROPERTY_RESOURCES
  410. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  411. #ifdef _WIN32
  412. LANGUAGE 9, 1
  413. #pragma code_page(1252)
  414. #endif
  415. #include "res\MDI.rc2" // non-Microsoft Visual C++ edited resources
  416. #include "afxres.rc" // Standard components
  417. #endif
  418. /////////////////////////////////////////////////////////////////////////////
  419. #endif // not APSTUDIO_INVOKED