Print.rc
上传用户:dztljd
上传日期:2007-01-04
资源大小:55k
文件大小:13k
源码类别:

打印编程

开发平台:

Visual C++

  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"
  27. END
  28. 2 TEXTINCLUDE DISCARDABLE 
  29. BEGIN
  30.     "#include ""afxres.h""rn"
  31.     ""
  32. END
  33. 3 TEXTINCLUDE DISCARDABLE 
  34. BEGIN
  35.     "#define _AFX_NO_SPLITTER_RESOURCESrn"
  36.     "#define _AFX_NO_OLE_RESOURCESrn"
  37.     "#define _AFX_NO_TRACKER_RESOURCESrn"
  38.     "#define _AFX_NO_PROPERTY_RESOURCESrn"
  39.     "rn"
  40.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)rn"
  41.     "#ifdef _WIN32rn"
  42.     "LANGUAGE 9, 1rn"
  43.     "#pragma code_page(1252)rn"
  44.     "#endifrn"
  45.     "#include ""res\Print.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  46.     "#include ""afxres.rc""         // Standard componentsrn"
  47.     "#include ""afxprint.rc""       // printing/print preview resourcesrn"
  48.     "#endif"
  49. END
  50. #endif    // APSTUDIO_INVOKED
  51. /////////////////////////////////////////////////////////////////////////////
  52. //
  53. // Icon
  54. //
  55. // Icon with lowest ID value placed first to ensure application icon
  56. // remains consistent on all systems.
  57. IDR_MAINFRAME           ICON    DISCARDABLE     "res\Print.ico"
  58. IDR_PRINTTYPE           ICON    DISCARDABLE     "res\PrintDoc.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_NEW
  71.     BUTTON      ID_FILE_OPEN
  72.     BUTTON      ID_FILE_SAVE
  73.     SEPARATOR
  74.     BUTTON      ID_EDIT_CUT
  75.     BUTTON      ID_EDIT_COPY
  76.     BUTTON      ID_EDIT_PASTE
  77.     SEPARATOR
  78.     BUTTON      ID_FILE_PRINT
  79.     BUTTON      ID_APP_ABOUT
  80. END
  81. /////////////////////////////////////////////////////////////////////////////
  82. //
  83. // Menu
  84. //
  85. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  86. BEGIN
  87.     POPUP "&File"
  88.     BEGIN
  89.         MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  90.         MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  91.         MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  92.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  93.         MENUITEM SEPARATOR
  94.         MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  95.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  96.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  97.         MENUITEM SEPARATOR
  98.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  99.         MENUITEM SEPARATOR
  100.         MENUITEM "E&xit",                       ID_APP_EXIT
  101.     END
  102.     POPUP "&Edit"
  103.     BEGIN
  104.         MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  105.         MENUITEM SEPARATOR
  106.         MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  107.         MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  108.         MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  109.     END
  110.     POPUP "&View"
  111.     BEGIN
  112.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  113.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  114.     END
  115.     POPUP "&Help"
  116.     BEGIN
  117.         MENUITEM "&About Print...",             ID_APP_ABOUT
  118.     END
  119. END
  120. /////////////////////////////////////////////////////////////////////////////
  121. //
  122. // Accelerator
  123. //
  124. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  125. BEGIN
  126.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  127.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  128.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  129.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  130.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  131.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  132.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  133.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  134.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  135.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  136.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  137.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  138.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  139.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  140. END
  141. /////////////////////////////////////////////////////////////////////////////
  142. //
  143. // Dialog
  144. //
  145. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 55
  146. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  147. CAPTION "About Print"
  148. FONT 8, "MS Sans Serif"
  149. BEGIN
  150.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  151.     LTEXT           "Print Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX
  152.     LTEXT           "Copyright (C) 1998",IDC_STATIC,40,25,119,8
  153.     DEFPUSHBUTTON   "OK",IDOK,178,7,32,14,WS_GROUP
  154. END
  155. IDD_PRINT_FORM DIALOG DISCARDABLE  0, 0, 189, 99
  156. STYLE WS_CHILD
  157. FONT 8, "MS Sans Serif"
  158. BEGIN
  159.     LTEXT           "TODO: Place form controls on this dialog.",IDC_STATIC,
  160.                     19,21,136,8
  161.     PUSHBUTTON      "Print Me!",IDC_BUTTON1,21,36,41,16
  162.     COMBOBOX        IDC_COMBO1,74,38,70,17,CBS_DROPDOWN | CBS_SORT | 
  163.                     WS_VSCROLL | WS_TABSTOP
  164.     LTEXT           "None of these controls function - but they certainly get printed!",
  165.                     IDC_STATIC,24,58,129,17
  166. END
  167. #ifndef _MAC
  168. /////////////////////////////////////////////////////////////////////////////
  169. //
  170. // Version
  171. //
  172. VS_VERSION_INFO VERSIONINFO
  173.  FILEVERSION 1,0,0,1
  174.  PRODUCTVERSION 1,0,0,1
  175.  FILEFLAGSMASK 0x3fL
  176. #ifdef _DEBUG
  177.  FILEFLAGS 0x1L
  178. #else
  179.  FILEFLAGS 0x0L
  180. #endif
  181.  FILEOS 0x4L
  182.  FILETYPE 0x1L
  183.  FILESUBTYPE 0x0L
  184. BEGIN
  185.     BLOCK "StringFileInfo"
  186.     BEGIN
  187.         BLOCK "040904B0"
  188.         BEGIN
  189.             VALUE "CompanyName", ""
  190.             VALUE "FileDescription", "Print MFC Application"
  191.             VALUE "FileVersion", "1, 0, 0, 1"
  192.             VALUE "InternalName", "Print"
  193.             VALUE "LegalCopyright", "Copyright (C) 1998"
  194.             VALUE "LegalTrademarks", ""
  195.             VALUE "OriginalFilename", "Print.EXE"
  196.             VALUE "ProductName", "Print Application"
  197.             VALUE "ProductVersion", "1, 0, 0, 1"
  198.         END
  199.     END
  200.     BLOCK "VarFileInfo"
  201.     BEGIN
  202.         VALUE "Translation", 0x409, 1200
  203.     END
  204. END
  205. #endif    // !_MAC
  206. /////////////////////////////////////////////////////////////////////////////
  207. //
  208. // DESIGNINFO
  209. //
  210. #ifdef APSTUDIO_INVOKED
  211. GUIDELINES DESIGNINFO DISCARDABLE 
  212. BEGIN
  213.     IDD_ABOUTBOX, DIALOG
  214.     BEGIN
  215.         LEFTMARGIN, 7
  216.         RIGHTMARGIN, 210
  217.         TOPMARGIN, 7
  218.         BOTTOMMARGIN, 48
  219.     END
  220.     IDD_PRINT_FORM, DIALOG
  221.     BEGIN
  222.         LEFTMARGIN, 7
  223.         RIGHTMARGIN, 182
  224.         TOPMARGIN, 7
  225.         BOTTOMMARGIN, 92
  226.     END
  227. END
  228. #endif    // APSTUDIO_INVOKED
  229. /////////////////////////////////////////////////////////////////////////////
  230. //
  231. // String Table
  232. //
  233. STRINGTABLE PRELOAD DISCARDABLE 
  234. BEGIN
  235.     IDR_MAINFRAME           "PrintnnPrintnnnPrint.DocumentnPrint Document"
  236. END
  237. STRINGTABLE PRELOAD DISCARDABLE 
  238. BEGIN
  239.     AFX_IDS_APP_TITLE       "Print"
  240.     AFX_IDS_IDLEMESSAGE     "Ready"
  241. END
  242. STRINGTABLE DISCARDABLE 
  243. BEGIN
  244.     ID_INDICATOR_EXT        "EXT"
  245.     ID_INDICATOR_CAPS       "CAP"
  246.     ID_INDICATOR_NUM        "NUM"
  247.     ID_INDICATOR_SCRL       "SCRL"
  248.     ID_INDICATOR_OVR        "OVR"
  249.     ID_INDICATOR_REC        "REC"
  250. END
  251. STRINGTABLE DISCARDABLE 
  252. BEGIN
  253.     ID_FILE_NEW             "Create a new documentnNew"
  254.     ID_FILE_OPEN            "Open an existing documentnOpen"
  255.     ID_FILE_CLOSE           "Close the active documentnClose"
  256.     ID_FILE_SAVE            "Save the active documentnSave"
  257.     ID_FILE_SAVE_AS         "Save the active document with a new namenSave As"
  258.     ID_FILE_PAGE_SETUP      "Change the printing optionsnPage Setup"
  259.     ID_FILE_PRINT_SETUP     "Change the printer and printing optionsnPrint Setup"
  260.     ID_FILE_PRINT           "Print the active documentnPrint"
  261.     ID_FILE_PRINT_PREVIEW   "Display full pagesnPrint Preview"
  262. END
  263. STRINGTABLE DISCARDABLE 
  264. BEGIN
  265.     ID_APP_ABOUT            "Display program information, version number and copyrightnAbout"
  266.     ID_APP_EXIT             "Quit the application; prompts to save documentsnExit"
  267. END
  268. STRINGTABLE DISCARDABLE 
  269. BEGIN
  270.     ID_FILE_MRU_FILE1       "Open this document"
  271.     ID_FILE_MRU_FILE2       "Open this document"
  272.     ID_FILE_MRU_FILE3       "Open this document"
  273.     ID_FILE_MRU_FILE4       "Open this document"
  274.     ID_FILE_MRU_FILE5       "Open this document"
  275.     ID_FILE_MRU_FILE6       "Open this document"
  276.     ID_FILE_MRU_FILE7       "Open this document"
  277.     ID_FILE_MRU_FILE8       "Open this document"
  278.     ID_FILE_MRU_FILE9       "Open this document"
  279.     ID_FILE_MRU_FILE10      "Open this document"
  280.     ID_FILE_MRU_FILE11      "Open this document"
  281.     ID_FILE_MRU_FILE12      "Open this document"
  282.     ID_FILE_MRU_FILE13      "Open this document"
  283.     ID_FILE_MRU_FILE14      "Open this document"
  284.     ID_FILE_MRU_FILE15      "Open this document"
  285.     ID_FILE_MRU_FILE16      "Open this document"
  286. END
  287. STRINGTABLE DISCARDABLE 
  288. BEGIN
  289.     ID_NEXT_PANE            "Switch to the next window panenNext Pane"
  290.     ID_PREV_PANE            "Switch back to the previous window panenPrevious Pane"
  291. END
  292. STRINGTABLE DISCARDABLE 
  293. BEGIN
  294.     ID_WINDOW_SPLIT         "Split the active window into panesnSplit"
  295. END
  296. STRINGTABLE DISCARDABLE 
  297. BEGIN
  298.     ID_EDIT_CLEAR           "Erase the selectionnErase"
  299.     ID_EDIT_CLEAR_ALL       "Erase everythingnErase All"
  300.     ID_EDIT_COPY            "Copy the selection and put it on the ClipboardnCopy"
  301.     ID_EDIT_CUT             "Cut the selection and put it on the ClipboardnCut"
  302.     ID_EDIT_FIND            "Find the specified textnFind"
  303.     ID_EDIT_PASTE           "Insert Clipboard contentsnPaste"
  304.     ID_EDIT_REPEAT          "Repeat the last actionnRepeat"
  305.     ID_EDIT_REPLACE         "Replace specific text with different textnReplace"
  306.     ID_EDIT_SELECT_ALL      "Select the entire documentnSelect All"
  307.     ID_EDIT_UNDO            "Undo the last actionnUndo"
  308.     ID_EDIT_REDO            "Redo the previously undone actionnRedo"
  309. END
  310. STRINGTABLE DISCARDABLE 
  311. BEGIN
  312.     ID_VIEW_TOOLBAR         "Show or hide the toolbarnToggle ToolBar"
  313.     ID_VIEW_STATUS_BAR      "Show or hide the status barnToggle StatusBar"
  314. END
  315. STRINGTABLE DISCARDABLE 
  316. BEGIN
  317.     AFX_IDS_SCSIZE          "Change the window size"
  318.     AFX_IDS_SCMOVE          "Change the window position"
  319.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  320.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  321.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  322.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  323.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  324. END
  325. STRINGTABLE DISCARDABLE 
  326. BEGIN
  327.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  328.     AFX_IDS_SCTASKLIST      "Activate Task List"
  329. END
  330. STRINGTABLE DISCARDABLE 
  331. BEGIN
  332.     AFX_IDS_PREVIEW_CLOSE   "Close print preview modenCancel Preview"
  333. END
  334. #endif    // English (U.S.) resources
  335. /////////////////////////////////////////////////////////////////////////////
  336. #ifndef APSTUDIO_INVOKED
  337. /////////////////////////////////////////////////////////////////////////////
  338. //
  339. // Generated from the TEXTINCLUDE 3 resource.
  340. //
  341. #define _AFX_NO_SPLITTER_RESOURCES
  342. #define _AFX_NO_OLE_RESOURCES
  343. #define _AFX_NO_TRACKER_RESOURCES
  344. #define _AFX_NO_PROPERTY_RESOURCES
  345. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  346. #ifdef _WIN32
  347. LANGUAGE 9, 1
  348. #pragma code_page(1252)
  349. #endif
  350. #include "resPrint.rc2"  // non-Microsoft Visual C++ edited resources
  351. #include "afxres.rc"         // Standard components
  352. #include "afxprint.rc"       // printing/print preview resources
  353. #endif
  354. /////////////////////////////////////////////////////////////////////////////
  355. #endif    // not APSTUDIO_INVOKED