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.

401 lines
12 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 ""afxres.rc"" // Standard components\r\n"
  46. "#include ""afxprint.rc"" // printing/print preview resources\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_MAINFRAME ICON DISCARDABLE "res\\PrintSDI.ico"
  57. IDR_PRINTSTYPE ICON DISCARDABLE "res\\PrintDoc.ico"
  58. /////////////////////////////////////////////////////////////////////////////
  59. //
  60. // Menu
  61. //
  62. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  63. BEGIN
  64. POPUP "&File"
  65. BEGIN
  66. MENUITEM "&New\tCtrl+N", ID_FILE_NEW
  67. MENUITEM "&Open...\tCtrl+O", ID_FILE_OPEN, GRAYED
  68. MENUITEM "&Save\tCtrl+S", ID_FILE_SAVE, GRAYED
  69. MENUITEM "Save &As...", ID_FILE_SAVE_AS, GRAYED
  70. MENUITEM SEPARATOR
  71. MENUITEM "&Print...\tCtrl+P", ID_FILE_PRINT
  72. MENUITEM "Print Pre&view", ID_FILE_PRINT_PREVIEW
  73. MENUITEM "P&rint Setup...", ID_FILE_PRINT_SETUP
  74. MENUITEM SEPARATOR
  75. MENUITEM "&Fax", ID_FILE_FAX
  76. MENUITEM SEPARATOR
  77. MENUITEM "Recent File", ID_FILE_MRU_FILE1, GRAYED
  78. MENUITEM SEPARATOR
  79. MENUITEM "E&xit", ID_APP_EXIT
  80. END
  81. POPUP "&Edit"
  82. BEGIN
  83. MENUITEM "&Undo\tCtrl+Z", ID_EDIT_UNDO, GRAYED
  84. MENUITEM SEPARATOR
  85. MENUITEM "Cu&t\tCtrl+X", ID_EDIT_CUT, GRAYED
  86. MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY, GRAYED
  87. MENUITEM "&Paste\tCtrl+V", ID_EDIT_PASTE, GRAYED
  88. END
  89. POPUP "&Help"
  90. BEGIN
  91. MENUITEM "&About PrintSDI...", ID_APP_ABOUT
  92. END
  93. END
  94. /////////////////////////////////////////////////////////////////////////////
  95. //
  96. // Accelerator
  97. //
  98. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  99. BEGIN
  100. "N", ID_FILE_NEW, VIRTKEY, CONTROL
  101. "O", ID_FILE_OPEN, VIRTKEY, CONTROL
  102. "S", ID_FILE_SAVE, VIRTKEY, CONTROL
  103. "P", ID_FILE_PRINT, VIRTKEY, CONTROL
  104. "Z", ID_EDIT_UNDO, VIRTKEY, CONTROL
  105. "X", ID_EDIT_CUT, VIRTKEY, CONTROL
  106. "C", ID_EDIT_COPY, VIRTKEY, CONTROL
  107. "V", ID_EDIT_PASTE, VIRTKEY, CONTROL
  108. VK_BACK, ID_EDIT_UNDO, VIRTKEY, ALT
  109. VK_DELETE, ID_EDIT_CUT, VIRTKEY, SHIFT
  110. VK_INSERT, ID_EDIT_COPY, VIRTKEY, CONTROL
  111. VK_INSERT, ID_EDIT_PASTE, VIRTKEY, SHIFT
  112. VK_F6, ID_NEXT_PANE, VIRTKEY
  113. VK_F6, ID_PREV_PANE, VIRTKEY, SHIFT
  114. END
  115. /////////////////////////////////////////////////////////////////////////////
  116. //
  117. // Dialog
  118. //
  119. IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 55
  120. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  121. CAPTION "About PrintSDI"
  122. FONT 8, "MS Sans Serif"
  123. BEGIN
  124. ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  125. LTEXT "PrintSDI Version 1.0",IDC_STATIC,40,10,119,8,
  126. SS_NOPREFIX
  127. LTEXT "Copyright (C) 1998 Microsoft Corportation",IDC_STATIC,
  128. 40,25,130,8
  129. DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP
  130. END
  131. IDD_NEWDIALOG DIALOG DISCARDABLE 0, 0, 316, 150
  132. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  133. CAPTION "New Document"
  134. FONT 8, "MS Sans Serif"
  135. BEGIN
  136. LTEXT "Enter Text:",IDC_STATIC,27,57,40,13,NOT WS_GROUP |
  137. WS_TABSTOP
  138. EDITTEXT IDC_EDIT1,67,55,182,17,ES_AUTOHSCROLL
  139. CONTROL "Circle",IDC_CIRCLE,"Button",BS_AUTORADIOBUTTON |
  140. WS_GROUP | WS_TABSTOP,28,112,50,16
  141. CONTROL "Square",IDC_SQUARE,"Button",BS_AUTORADIOBUTTON |
  142. WS_TABSTOP,87,110,56,18
  143. CONTROL "Triangle",IDC_TRIANGLE,"Button",BS_AUTORADIOBUTTON |
  144. WS_TABSTOP,149,108,71,19
  145. DEFPUSHBUTTON "OK",IDOK,259,7,50,14
  146. PUSHBUTTON "Cancel",IDCANCEL,259,24,50,14
  147. END
  148. IDD_FAX DIALOG DISCARDABLE 0, 0, 235, 114
  149. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  150. CAPTION "Dialog"
  151. FONT 8, "MS Sans Serif"
  152. BEGIN
  153. DEFPUSHBUTTON "OK",IDOK,54,93,50,14
  154. PUSHBUTTON "Cancel",IDCANCEL,125,93,50,14
  155. LTEXT "Fax Number:",IDC_STATIC,27,37,45,15
  156. EDITTEXT IDC_EDIT1,74,35,116,17,ES_AUTOHSCROLL
  157. LTEXT "Name :",IDC_STATIC,44,62,28,12
  158. EDITTEXT IDC_EDIT2,74,60,115,16,ES_AUTOHSCROLL
  159. GROUPBOX "Recipient's Information",IDC_STATIC,18,17,195,66
  160. END
  161. #ifndef _MAC
  162. /////////////////////////////////////////////////////////////////////////////
  163. //
  164. // Version
  165. //
  166. VS_VERSION_INFO VERSIONINFO
  167. FILEVERSION 1,0,0,1
  168. PRODUCTVERSION 1,0,0,1
  169. FILEFLAGSMASK 0x3fL
  170. #ifdef _DEBUG
  171. FILEFLAGS 0x1L
  172. #else
  173. FILEFLAGS 0x0L
  174. #endif
  175. FILEOS 0x4L
  176. FILETYPE 0x1L
  177. FILESUBTYPE 0x0L
  178. BEGIN
  179. BLOCK "StringFileInfo"
  180. BEGIN
  181. BLOCK "040904b0"
  182. BEGIN
  183. VALUE "CompanyName", "\0"
  184. VALUE "FileDescription", "PrintSDI MFC Application\0"
  185. VALUE "FileVersion", "1, 0, 0, 1\0"
  186. VALUE "InternalName", "PrintSDI\0"
  187. VALUE "LegalCopyright", "Copyright (C) 1998\0"
  188. VALUE "OriginalFilename", "PrintSDI.EXE\0"
  189. VALUE "ProductName", "PrintSDI Application\0"
  190. VALUE "ProductVersion", "1, 0, 0, 1\0"
  191. END
  192. END
  193. BLOCK "VarFileInfo"
  194. BEGIN
  195. VALUE "Translation", 0x409, 1200
  196. END
  197. END
  198. #endif // !_MAC
  199. /////////////////////////////////////////////////////////////////////////////
  200. //
  201. // DESIGNINFO
  202. //
  203. #ifdef APSTUDIO_INVOKED
  204. GUIDELINES DESIGNINFO DISCARDABLE
  205. BEGIN
  206. IDD_ABOUTBOX, DIALOG
  207. BEGIN
  208. LEFTMARGIN, 7
  209. RIGHTMARGIN, 210
  210. TOPMARGIN, 7
  211. BOTTOMMARGIN, 48
  212. END
  213. IDD_NEWDIALOG, DIALOG
  214. BEGIN
  215. LEFTMARGIN, 7
  216. RIGHTMARGIN, 309
  217. VERTGUIDE, 28
  218. TOPMARGIN, 7
  219. BOTTOMMARGIN, 143
  220. END
  221. IDD_FAX, DIALOG
  222. BEGIN
  223. LEFTMARGIN, 7
  224. RIGHTMARGIN, 228
  225. TOPMARGIN, 7
  226. BOTTOMMARGIN, 107
  227. END
  228. END
  229. #endif // APSTUDIO_INVOKED
  230. /////////////////////////////////////////////////////////////////////////////
  231. //
  232. // String Table
  233. //
  234. STRINGTABLE PRELOAD DISCARDABLE
  235. BEGIN
  236. IDR_MAINFRAME "PrintSDI\n\nPrintS\nPrintS Files (*.fxm)\n.fxm\nPrintSDI.Document\nPrintS Document"
  237. END
  238. STRINGTABLE PRELOAD DISCARDABLE
  239. BEGIN
  240. AFX_IDS_APP_TITLE "PrintSDI"
  241. AFX_IDS_IDLEMESSAGE "Ready"
  242. END
  243. STRINGTABLE DISCARDABLE
  244. BEGIN
  245. ID_INDICATOR_EXT "EXT"
  246. ID_INDICATOR_CAPS "CAP"
  247. ID_INDICATOR_NUM "NUM"
  248. ID_INDICATOR_SCRL "SCRL"
  249. ID_INDICATOR_OVR "OVR"
  250. ID_INDICATOR_REC "REC"
  251. END
  252. STRINGTABLE DISCARDABLE
  253. BEGIN
  254. ID_FILE_NEW "Create a new document\nNew"
  255. ID_FILE_OPEN "Open an existing document\nOpen"
  256. ID_FILE_CLOSE "Close the active document\nClose"
  257. ID_FILE_SAVE "Save the active document\nSave"
  258. ID_FILE_SAVE_AS "Save the active document with a new name\nSave As"
  259. ID_FILE_PAGE_SETUP "Change the printing options\nPage Setup"
  260. ID_FILE_PRINT_SETUP "Change the printer and printing options\nPrint Setup"
  261. ID_FILE_PRINT "Print the active document\nPrint"
  262. ID_FILE_PRINT_PREVIEW "Display full pages\nPrint Preview"
  263. END
  264. STRINGTABLE DISCARDABLE
  265. BEGIN
  266. ID_APP_ABOUT "Display program information, version number and copyright\nAbout"
  267. ID_APP_EXIT "Quit the application; prompts to save documents\nExit"
  268. END
  269. STRINGTABLE DISCARDABLE
  270. BEGIN
  271. ID_FILE_MRU_FILE1 "Open this document"
  272. ID_FILE_MRU_FILE2 "Open this document"
  273. ID_FILE_MRU_FILE3 "Open this document"
  274. ID_FILE_MRU_FILE4 "Open this document"
  275. ID_FILE_MRU_FILE5 "Open this document"
  276. ID_FILE_MRU_FILE6 "Open this document"
  277. ID_FILE_MRU_FILE7 "Open this document"
  278. ID_FILE_MRU_FILE8 "Open this document"
  279. ID_FILE_MRU_FILE9 "Open this document"
  280. ID_FILE_MRU_FILE10 "Open this document"
  281. ID_FILE_MRU_FILE11 "Open this document"
  282. ID_FILE_MRU_FILE12 "Open this document"
  283. ID_FILE_MRU_FILE13 "Open this document"
  284. ID_FILE_MRU_FILE14 "Open this document"
  285. ID_FILE_MRU_FILE15 "Open this document"
  286. ID_FILE_MRU_FILE16 "Open this document"
  287. END
  288. STRINGTABLE DISCARDABLE
  289. BEGIN
  290. ID_NEXT_PANE "Switch to the next window pane\nNext Pane"
  291. ID_PREV_PANE "Switch back to the previous window pane\nPrevious Pane"
  292. END
  293. STRINGTABLE DISCARDABLE
  294. BEGIN
  295. ID_WINDOW_SPLIT "Split the active window into panes\nSplit"
  296. END
  297. STRINGTABLE DISCARDABLE
  298. BEGIN
  299. ID_EDIT_CLEAR "Erase the selection\nErase"
  300. ID_EDIT_CLEAR_ALL "Erase everything\nErase All"
  301. ID_EDIT_COPY "Copy the selection and put it on the Clipboard\nCopy"
  302. ID_EDIT_CUT "Cut the selection and put it on the Clipboard\nCut"
  303. ID_EDIT_FIND "Find the specified text\nFind"
  304. ID_EDIT_PASTE "Insert Clipboard contents\nPaste"
  305. ID_EDIT_REPEAT "Repeat the last action\nRepeat"
  306. ID_EDIT_REPLACE "Replace specific text with different text\nReplace"
  307. ID_EDIT_SELECT_ALL "Select the entire document\nSelect All"
  308. ID_EDIT_UNDO "Undo the last action\nUndo"
  309. ID_EDIT_REDO "Redo the previously undone action\nRedo"
  310. END
  311. STRINGTABLE DISCARDABLE
  312. BEGIN
  313. AFX_IDS_SCSIZE "Change the window size"
  314. AFX_IDS_SCMOVE "Change the window position"
  315. AFX_IDS_SCMINIMIZE "Reduce the window to an icon"
  316. AFX_IDS_SCMAXIMIZE "Enlarge the window to full size"
  317. AFX_IDS_SCNEXTWINDOW "Switch to the next document window"
  318. AFX_IDS_SCPREVWINDOW "Switch to the previous document window"
  319. AFX_IDS_SCCLOSE "Close the active window and prompts to save the documents"
  320. END
  321. STRINGTABLE DISCARDABLE
  322. BEGIN
  323. AFX_IDS_SCRESTORE "Restore the window to normal size"
  324. AFX_IDS_SCTASKLIST "Activate Task List"
  325. END
  326. STRINGTABLE DISCARDABLE
  327. BEGIN
  328. AFX_IDS_PREVIEW_CLOSE "Close print preview mode\nCancel Preview"
  329. END
  330. #endif // English (U.S.) resources
  331. /////////////////////////////////////////////////////////////////////////////
  332. #ifndef APSTUDIO_INVOKED
  333. /////////////////////////////////////////////////////////////////////////////
  334. //
  335. // Generated from the TEXTINCLUDE 3 resource.
  336. //
  337. #define _AFX_NO_SPLITTER_RESOURCES
  338. #define _AFX_NO_OLE_RESOURCES
  339. #define _AFX_NO_TRACKER_RESOURCES
  340. #define _AFX_NO_PROPERTY_RESOURCES
  341. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  342. #ifdef _WIN32
  343. LANGUAGE 9, 1
  344. #pragma code_page(1252)
  345. #endif
  346. #include "afxres.rc" // Standard components
  347. #include "afxprint.rc" // printing/print preview resources
  348. #endif
  349. /////////////////////////////////////////////////////////////////////////////
  350. #endif // not APSTUDIO_INVOKED