MDI.rc 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444
  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. /////////////////////////////////////////////////////////////////////////////
  13. // ÖÐÎÄ(ÖлªÈËÃñ¹²ºÍ¹ú) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
  17. #pragma code_page(936)
  18. #endif //_WIN32
  19. #ifdef APSTUDIO_INVOKED
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // TEXTINCLUDE
  23. //
  24. 1 TEXTINCLUDE
  25. BEGIN
  26. "resource.h\0"
  27. END
  28. 2 TEXTINCLUDE
  29. BEGIN
  30. "#include ""afxres.h""\r\n"
  31. "\0"
  32. END
  33. 3 TEXTINCLUDE
  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 //_WIN32\r\n"
  45. "#include ""afxres.rc"" // Standard components\r\n"
  46. "#include ""afxprint.rc"" // printing/print preview resources\r\n"
  47. "#endif\r\n"
  48. "\0"
  49. END
  50. #endif // APSTUDIO_INVOKED
  51. #endif // ÖÐÎÄ(ÖлªÈËÃñ¹²ºÍ¹ú) resources
  52. /////////////////////////////////////////////////////////////////////////////
  53. /////////////////////////////////////////////////////////////////////////////
  54. // Ó¢Óï(ÃÀ¹ú) resources
  55. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  56. #ifdef _WIN32
  57. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  58. #pragma code_page(1252)
  59. #endif //_WIN32
  60. /////////////////////////////////////////////////////////////////////////////
  61. //
  62. // Icon
  63. //
  64. // Icon with lowest ID value placed first to ensure application icon
  65. // remains consistent on all systems.
  66. IDR_MAINFRAME ICON "hans.ico"
  67. IDR_MDITYPE ICON "Doc.ico"
  68. /////////////////////////////////////////////////////////////////////////////
  69. //
  70. // Bitmap
  71. //
  72. IDR_MAINFRAME BITMAP "Toolbar.bmp"
  73. /////////////////////////////////////////////////////////////////////////////
  74. //
  75. // Toolbar
  76. //
  77. IDR_MAINFRAME TOOLBAR 16, 15
  78. BEGIN
  79. BUTTON ID_FILE_NEW
  80. BUTTON ID_FILE_OPEN
  81. BUTTON ID_FILE_SAVE
  82. SEPARATOR
  83. BUTTON ID_EDIT_CUT
  84. BUTTON ID_EDIT_COPY
  85. BUTTON ID_EDIT_PASTE
  86. SEPARATOR
  87. BUTTON ID_FILE_PRINT
  88. SEPARATOR
  89. BUTTON ID_APP_ABOUT
  90. END
  91. /////////////////////////////////////////////////////////////////////////////
  92. //
  93. // Menu
  94. //
  95. IDR_MAINFRAME MENU
  96. BEGIN
  97. POPUP "&File"
  98. BEGIN
  99. MENUITEM "&New\tCtrl+N", ID_FILE_NEW
  100. MENUITEM "&Open...\tCtrl+O", ID_FILE_OPEN
  101. MENUITEM SEPARATOR
  102. MENUITEM "P&rint Setup...", ID_FILE_PRINT_SETUP
  103. MENUITEM SEPARATOR
  104. MENUITEM "Recent File", ID_FILE_MRU_FILE1, GRAYED
  105. MENUITEM SEPARATOR
  106. MENUITEM "E&xit", ID_APP_EXIT
  107. END
  108. POPUP "&View"
  109. BEGIN
  110. MENUITEM "&Toolbar", ID_VIEW_TOOLBAR
  111. MENUITEM "&Status Bar", ID_VIEW_STATUS_BAR
  112. END
  113. POPUP "&Help"
  114. BEGIN
  115. MENUITEM "&About MDI...", ID_APP_ABOUT
  116. END
  117. END
  118. IDR_MDITYPE MENU
  119. BEGIN
  120. POPUP "&File"
  121. BEGIN
  122. MENUITEM "&New\tCtrl+N", ID_FILE_NEW
  123. MENUITEM "&Open...\tCtrl+O", ID_FILE_OPEN
  124. MENUITEM "&Close", ID_FILE_CLOSE
  125. MENUITEM "&Save\tCtrl+S", ID_FILE_SAVE
  126. MENUITEM "Save &As...", ID_FILE_SAVE_AS
  127. MENUITEM SEPARATOR
  128. MENUITEM "&Print...\tCtrl+P", ID_FILE_PRINT
  129. MENUITEM "Print Pre&view", ID_FILE_PRINT_PREVIEW
  130. MENUITEM "P&rint Setup...", ID_FILE_PRINT_SETUP
  131. MENUITEM SEPARATOR
  132. MENUITEM "Recent File", ID_FILE_MRU_FILE1, GRAYED
  133. MENUITEM SEPARATOR
  134. MENUITEM "E&xit", ID_APP_EXIT
  135. END
  136. POPUP "&Edit"
  137. BEGIN
  138. MENUITEM "&Undo\tCtrl+Z", ID_EDIT_UNDO
  139. MENUITEM SEPARATOR
  140. MENUITEM "Cu&t\tCtrl+X", ID_EDIT_CUT
  141. MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY
  142. MENUITEM "&Paste\tCtrl+V", ID_EDIT_PASTE
  143. END
  144. POPUP "&View"
  145. BEGIN
  146. MENUITEM "&Toolbar", ID_VIEW_TOOLBAR
  147. MENUITEM "&Status Bar", ID_VIEW_STATUS_BAR
  148. END
  149. POPUP "&Window"
  150. BEGIN
  151. MENUITEM "&New Window", ID_WINDOW_NEW
  152. MENUITEM "&Cascade", ID_WINDOW_CASCADE
  153. MENUITEM "&Tile", ID_WINDOW_TILE_HORZ
  154. MENUITEM "&Arrange Icons", ID_WINDOW_ARRANGE
  155. END
  156. POPUP "&Help"
  157. BEGIN
  158. MENUITEM "&About MDI...", ID_APP_ABOUT
  159. END
  160. END
  161. /////////////////////////////////////////////////////////////////////////////
  162. //
  163. // Accelerator
  164. //
  165. IDR_MAINFRAME ACCELERATORS
  166. BEGIN
  167. "N", ID_FILE_NEW, VIRTKEY, CONTROL
  168. "O", ID_FILE_OPEN, VIRTKEY, CONTROL
  169. "S", ID_FILE_SAVE, VIRTKEY, CONTROL
  170. "P", ID_FILE_PRINT, VIRTKEY, CONTROL
  171. "Z", ID_EDIT_UNDO, VIRTKEY, CONTROL
  172. "X", ID_EDIT_CUT, VIRTKEY, CONTROL
  173. "C", ID_EDIT_COPY, VIRTKEY, CONTROL
  174. "V", ID_EDIT_PASTE, VIRTKEY, CONTROL
  175. VK_BACK, ID_EDIT_UNDO, VIRTKEY, ALT
  176. VK_DELETE, ID_EDIT_CUT, VIRTKEY, SHIFT
  177. VK_INSERT, ID_EDIT_COPY, VIRTKEY, CONTROL
  178. VK_INSERT, ID_EDIT_PASTE, VIRTKEY, SHIFT
  179. VK_F6, ID_NEXT_PANE, VIRTKEY
  180. VK_F6, ID_PREV_PANE, VIRTKEY, SHIFT
  181. END
  182. /////////////////////////////////////////////////////////////////////////////
  183. //
  184. // Dialog
  185. //
  186. IDD_ABOUTBOX DIALOG 0, 0, 270, 131
  187. STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  188. CAPTION "About MDI"
  189. FONT 8, "MS Sans Serif"
  190. BEGIN
  191. ICON IDR_MAINFRAME,IDC_STATIC,11,14,20,20,SS_CENTERIMAGE | WS_BORDER
  192. LTEXT "MDI Version 1.4",IDC_STATIC,40,13,119,8,SS_NOPREFIX
  193. LTEXT "Copyright © 1999-2006 Hans Dietrich",IDC_STATIC,40,27,165,8
  194. LTEXT "This software is provided ""as is"" with no expressed or implied warranty. I accept no liability for any damage or loss of business that this software may cause. ",IDC_STATIC,40,71,165,32
  195. LTEXT "Send email to Hans Dietrich",IDC_ABOUT_EMAIL,90,113,90,8,SS_CENTERIMAGE
  196. DEFPUSHBUTTON "OK",IDOK,209,9,50,14,WS_GROUP
  197. LTEXT "This software is released into the public domain. You are free to use it in any way you like, except that you may not sell this source code.",IDC_STATIC,40,41,165,24
  198. END
  199. /////////////////////////////////////////////////////////////////////////////
  200. //
  201. // Version
  202. //
  203. VS_VERSION_INFO VERSIONINFO
  204. FILEVERSION 1,4,0,1
  205. PRODUCTVERSION 1,4,0,1
  206. FILEFLAGSMASK 0x3fL
  207. #ifdef _DEBUG
  208. FILEFLAGS 0x1L
  209. #else
  210. FILEFLAGS 0x0L
  211. #endif
  212. FILEOS 0x4L
  213. FILETYPE 0x1L
  214. FILESUBTYPE 0x0L
  215. BEGIN
  216. BLOCK "StringFileInfo"
  217. BEGIN
  218. BLOCK "040904b0"
  219. BEGIN
  220. VALUE "E-mail", "hdietrich@gmail.com"
  221. VALUE "Article", "http://www.codeproject.com/listctrl/xlistctrl.asp"
  222. VALUE "FileDescription", "MDI - XListCtrl CView Demo"
  223. VALUE "FileVersion", "1, 4, 0, 1"
  224. VALUE "LegalCopyright", "Copyright © 2006 Hans Dietrich"
  225. VALUE "ProductName", "MDI"
  226. VALUE "ProductVersion", "1, 4, 0, 1"
  227. END
  228. END
  229. BLOCK "VarFileInfo"
  230. BEGIN
  231. VALUE "Translation", 0x409, 1200
  232. END
  233. END
  234. /////////////////////////////////////////////////////////////////////////////
  235. //
  236. // DESIGNINFO
  237. //
  238. #ifdef APSTUDIO_INVOKED
  239. GUIDELINES DESIGNINFO
  240. BEGIN
  241. IDD_ABOUTBOX, DIALOG
  242. BEGIN
  243. LEFTMARGIN, 7
  244. RIGHTMARGIN, 228
  245. TOPMARGIN, 7
  246. BOTTOMMARGIN, 48
  247. END
  248. END
  249. #endif // APSTUDIO_INVOKED
  250. /////////////////////////////////////////////////////////////////////////////
  251. //
  252. // String Table
  253. //
  254. STRINGTABLE
  255. BEGIN
  256. IDR_MAINFRAME "MDI"
  257. IDR_MDITYPE "\nMDI\nMDI\n\n\nMDI.Document\nMDI Document"
  258. END
  259. STRINGTABLE
  260. BEGIN
  261. IDS_MAILTO "mailto:hdietrich@gmail.com?subject=XListCtrl"
  262. END
  263. STRINGTABLE
  264. BEGIN
  265. AFX_IDS_APP_TITLE "MDI"
  266. AFX_IDS_IDLEMESSAGE "Ready"
  267. END
  268. STRINGTABLE
  269. BEGIN
  270. ID_INDICATOR_EXT "EXT"
  271. ID_INDICATOR_CAPS "CAP"
  272. ID_INDICATOR_NUM "NUM"
  273. ID_INDICATOR_SCRL "SCRL"
  274. ID_INDICATOR_OVR "OVR"
  275. ID_INDICATOR_REC "REC"
  276. END
  277. STRINGTABLE
  278. BEGIN
  279. ID_FILE_NEW "Create a new document\nNew"
  280. ID_FILE_OPEN "Open an existing document\nOpen"
  281. ID_FILE_CLOSE "Close the active document\nClose"
  282. ID_FILE_SAVE "Save the active document\nSave"
  283. ID_FILE_SAVE_AS "Save the active document with a new name\nSave As"
  284. ID_FILE_PAGE_SETUP "Change the printing options\nPage Setup"
  285. ID_FILE_PRINT_SETUP "Change the printer and printing options\nPrint Setup"
  286. ID_FILE_PRINT "Print the active document\nPrint"
  287. ID_FILE_PRINT_PREVIEW "Display full pages\nPrint Preview"
  288. END
  289. STRINGTABLE
  290. BEGIN
  291. ID_APP_ABOUT "Display program information, version number and copyright\nAbout"
  292. ID_APP_EXIT "Quit the application; prompts to save documents\nExit"
  293. END
  294. STRINGTABLE
  295. BEGIN
  296. ID_FILE_MRU_FILE1 "Open this document"
  297. ID_FILE_MRU_FILE2 "Open this document"
  298. ID_FILE_MRU_FILE3 "Open this document"
  299. ID_FILE_MRU_FILE4 "Open this document"
  300. ID_FILE_MRU_FILE5 "Open this document"
  301. ID_FILE_MRU_FILE6 "Open this document"
  302. ID_FILE_MRU_FILE7 "Open this document"
  303. ID_FILE_MRU_FILE8 "Open this document"
  304. ID_FILE_MRU_FILE9 "Open this document"
  305. ID_FILE_MRU_FILE10 "Open this document"
  306. ID_FILE_MRU_FILE11 "Open this document"
  307. ID_FILE_MRU_FILE12 "Open this document"
  308. ID_FILE_MRU_FILE13 "Open this document"
  309. ID_FILE_MRU_FILE14 "Open this document"
  310. ID_FILE_MRU_FILE15 "Open this document"
  311. ID_FILE_MRU_FILE16 "Open this document"
  312. END
  313. STRINGTABLE
  314. BEGIN
  315. ID_NEXT_PANE "Switch to the next window pane\nNext Pane"
  316. ID_PREV_PANE "Switch back to the previous window pane\nPrevious Pane"
  317. END
  318. STRINGTABLE
  319. BEGIN
  320. ID_WINDOW_NEW "Open another window for the active document\nNew Window"
  321. ID_WINDOW_ARRANGE "Arrange icons at the bottom of the window\nArrange Icons"
  322. ID_WINDOW_CASCADE "Arrange windows so they overlap\nCascade Windows"
  323. ID_WINDOW_TILE_HORZ "Arrange windows as non-overlapping tiles\nTile Windows"
  324. ID_WINDOW_TILE_VERT "Arrange windows as non-overlapping tiles\nTile Windows"
  325. ID_WINDOW_SPLIT "Split the active window into panes\nSplit"
  326. END
  327. STRINGTABLE
  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. STRINGTABLE
  342. BEGIN
  343. ID_VIEW_TOOLBAR "Show or hide the toolbar\nToggle ToolBar"
  344. ID_VIEW_STATUS_BAR "Show or hide the status bar\nToggle StatusBar"
  345. END
  346. STRINGTABLE
  347. BEGIN
  348. AFX_IDS_SCSIZE "Change the window size"
  349. AFX_IDS_SCMOVE "Change the window position"
  350. AFX_IDS_SCMINIMIZE "Reduce the window to an icon"
  351. AFX_IDS_SCMAXIMIZE "Enlarge the window to full size"
  352. AFX_IDS_SCNEXTWINDOW "Switch to the next document window"
  353. AFX_IDS_SCPREVWINDOW "Switch to the previous document window"
  354. AFX_IDS_SCCLOSE "Close the active window and prompts to save the documents"
  355. END
  356. STRINGTABLE
  357. BEGIN
  358. AFX_IDS_SCRESTORE "Restore the window to normal size"
  359. AFX_IDS_SCTASKLIST "Activate Task List"
  360. AFX_IDS_MDICHILD "Activate this window"
  361. END
  362. STRINGTABLE
  363. BEGIN
  364. AFX_IDS_PREVIEW_CLOSE "Close print preview mode\nCancel Preview"
  365. END
  366. #endif // Ó¢Óï(ÃÀ¹ú) resources
  367. /////////////////////////////////////////////////////////////////////////////
  368. #ifndef APSTUDIO_INVOKED
  369. /////////////////////////////////////////////////////////////////////////////
  370. //
  371. // Generated from the TEXTINCLUDE 3 resource.
  372. //
  373. #define _AFX_NO_SPLITTER_RESOURCES
  374. #define _AFX_NO_OLE_RESOURCES
  375. #define _AFX_NO_TRACKER_RESOURCES
  376. #define _AFX_NO_PROPERTY_RESOURCES
  377. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  378. #ifdef _WIN32
  379. LANGUAGE 9, 1
  380. #pragma code_page(1252)
  381. #endif //_WIN32
  382. #include "afxres.rc" // Standard components
  383. #include "afxprint.rc" // printing/print preview resources
  384. #endif
  385. /////////////////////////////////////////////////////////////////////////////
  386. #endif // not APSTUDIO_INVOKED