PrintPreview.rc
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:14k
源码类别:

对话框与窗口

开发平台:

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.     "#endif //_WIN32rn"
  45.     "#include ""res\PrintPreview.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  46.     "#include ""afxres.rc""         // Standard componentsrn"
  47.     "#include ""afxprint.rc""       // printing/print preview resourcesrn"
  48.     "#endifrn"
  49.     ""
  50. END
  51. #endif    // APSTUDIO_INVOKED
  52. /////////////////////////////////////////////////////////////////////////////
  53. //
  54. // Bitmap
  55. //
  56. IDB_BITMAP_ICONS        BITMAP  DISCARDABLE     "res\bitmap1.bmp"
  57. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\Toolbar.bmp"
  58. /////////////////////////////////////////////////////////////////////////////
  59. //
  60. // Icon
  61. //
  62. // Icon with lowest ID value placed first to ensure application icon
  63. // remains consistent on all systems.
  64. IDR_MAINFRAME           ICON    DISCARDABLE     "res\CjSample.ico"
  65. IDR_PRINTPTYPE          ICON    DISCARDABLE     "res\PrintPreviewDoc.ico"
  66. PrintPreview.rtf        RTF     DISCARDABLE     "res\PrintPreview.rtf"
  67. /////////////////////////////////////////////////////////////////////////////
  68. //
  69. // Toolbar
  70. //
  71. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  72. BEGIN
  73.     BUTTON      ID_FILE_NEW
  74.     BUTTON      ID_FILE_OPEN
  75.     BUTTON      ID_FILE_SAVE
  76.     SEPARATOR
  77.     BUTTON      ID_EDIT_CUT
  78.     BUTTON      ID_EDIT_COPY
  79.     BUTTON      ID_EDIT_PASTE
  80.     SEPARATOR
  81.     BUTTON      ID_FILE_PRINT
  82.     SEPARATOR
  83.     BUTTON      ID_APP_ABOUT
  84. END
  85. /////////////////////////////////////////////////////////////////////////////
  86. //
  87. // Menu
  88. //
  89. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  90. BEGIN
  91.     POPUP "&File"
  92.     BEGIN
  93.         MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  94.         MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  95.         MENUITEM SEPARATOR
  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 "&View"
  103.     BEGIN
  104.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  105.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  106.     END
  107.     POPUP "&Help"
  108.     BEGIN
  109.         MENUITEM "&About Print Preview Sample...", ID_APP_ABOUT
  110.     END
  111. END
  112. IDR_PRINTPTYPE MENU PRELOAD DISCARDABLE 
  113. BEGIN
  114.     POPUP "&File"
  115.     BEGIN
  116.         MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  117.         MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  118.         MENUITEM "&Close",                      ID_FILE_CLOSE
  119.         MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  120.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  121.         MENUITEM SEPARATOR
  122.         MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  123.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  124.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  125.         MENUITEM SEPARATOR
  126.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  127.         MENUITEM SEPARATOR
  128.         MENUITEM "E&xit",                       ID_APP_EXIT
  129.     END
  130.     POPUP "&Edit"
  131.     BEGIN
  132.         MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  133.         MENUITEM SEPARATOR
  134.         MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  135.         MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  136.         MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  137.     END
  138.     POPUP "&View"
  139.     BEGIN
  140.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  141.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  142.     END
  143.     POPUP "&Window"
  144.     BEGIN
  145.         MENUITEM "&New Window",                 ID_WINDOW_NEW
  146.         MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  147.         MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  148.         MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  149.         MENUITEM SEPARATOR
  150.         MENUITEM "Window List",                 35000
  151.     END
  152.     POPUP "&Help"
  153.     BEGIN
  154.         MENUITEM "&About Print Preview Sample...", ID_APP_ABOUT
  155.     END
  156. END
  157. /////////////////////////////////////////////////////////////////////////////
  158. //
  159. // Accelerator
  160. //
  161. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  162. BEGIN
  163.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  164.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  165.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  166.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  167.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  168.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  169.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  170.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  171.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  172.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  173.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  174.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  175.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  176.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  177. END
  178. #ifndef _MAC
  179. /////////////////////////////////////////////////////////////////////////////
  180. //
  181. // Version
  182. //
  183. VS_VERSION_INFO VERSIONINFO
  184.  FILEVERSION 12,0,0,4
  185.  PRODUCTVERSION 12,0,0,4
  186.  FILEFLAGSMASK 0x3fL
  187. #ifdef _DEBUG
  188.  FILEFLAGS 0x1L
  189. #else
  190.  FILEFLAGS 0x0L
  191. #endif
  192.  FILEOS 0x4L
  193.  FILETYPE 0x1L
  194.  FILESUBTYPE 0x0L
  195. BEGIN
  196.     BLOCK "StringFileInfo"
  197.     BEGIN
  198.         BLOCK "040904B0"
  199.         BEGIN
  200.             VALUE "CompanyName", "Codejock Software"
  201.             VALUE "FileDescription", "PrintPreview MFC Application"
  202.             VALUE "FileVersion", "12, 0, 0, 4"
  203.             VALUE "InternalName", "PrintPreview"
  204.             VALUE "LegalCopyright", "(c)1998-2008 Codejock Software, All Rights Reserved."
  205.             VALUE "LegalTrademarks", ""
  206.             VALUE "OriginalFilename", "PrintPreview.EXE"
  207.             VALUE "ProductName", "PrintPreview Application"
  208.             VALUE "ProductVersion", "12, 0, 0, 4"
  209.         END
  210.     END
  211.     BLOCK "VarFileInfo"
  212.     BEGIN
  213.         VALUE "Translation", 0x409, 1200
  214.     END
  215. END
  216. #endif    // !_MAC
  217. /////////////////////////////////////////////////////////////////////////////
  218. //
  219. // String Table
  220. //
  221. STRINGTABLE PRELOAD DISCARDABLE 
  222. BEGIN
  223.     IDR_MAINFRAME           "Codejock Print Preview Sample"
  224.     IDR_PRINTPTYPE          "nPrintPnPrintPnnnPrintPreview.DocumentnPrintP Document"
  225. END
  226. STRINGTABLE PRELOAD DISCARDABLE 
  227. BEGIN
  228.     AFX_IDS_APP_TITLE       "Codejock Print Preview Sample"
  229.     AFX_IDS_IDLEMESSAGE     "Ready"
  230. END
  231. STRINGTABLE DISCARDABLE 
  232. BEGIN
  233.     ID_INDICATOR_EXT        "EXT"
  234.     ID_INDICATOR_CAPS       "CAP"
  235.     ID_INDICATOR_NUM        "NUM"
  236.     ID_INDICATOR_SCRL       "SCRL"
  237.     ID_INDICATOR_OVR        "OVR"
  238.     ID_INDICATOR_REC        "REC"
  239. END
  240. STRINGTABLE DISCARDABLE 
  241. BEGIN
  242.     ID_FILE_NEW             "Create a new documentnNew"
  243.     ID_FILE_OPEN            "Open an existing documentnOpen"
  244.     ID_FILE_CLOSE           "Close the active documentnClose"
  245.     ID_FILE_SAVE            "Save the active documentnSave"
  246.     ID_FILE_SAVE_AS         "Save the active document with a new namenSave As"
  247.     ID_FILE_PAGE_SETUP      "Change the printing optionsnPage Setup"
  248.     ID_FILE_PRINT_SETUP     "Change the printer and printing optionsnPrint Setup"
  249.     ID_FILE_PRINT           "Print the active documentnPrint"
  250.     ID_FILE_PRINT_PREVIEW   "Display full pagesnPrint Preview"
  251. END
  252. STRINGTABLE DISCARDABLE 
  253. BEGIN
  254.     ID_APP_ABOUT            "Display program information, version number and copyrightnAbout"
  255.     ID_APP_EXIT             "Quit the application; prompts to save documentsnExit"
  256. END
  257. STRINGTABLE DISCARDABLE 
  258. BEGIN
  259.     ID_FILE_MRU_FILE1       "Open this document"
  260.     ID_FILE_MRU_FILE2       "Open this document"
  261.     ID_FILE_MRU_FILE3       "Open this document"
  262.     ID_FILE_MRU_FILE4       "Open this document"
  263.     ID_FILE_MRU_FILE5       "Open this document"
  264.     ID_FILE_MRU_FILE6       "Open this document"
  265.     ID_FILE_MRU_FILE7       "Open this document"
  266.     ID_FILE_MRU_FILE8       "Open this document"
  267.     ID_FILE_MRU_FILE9       "Open this document"
  268.     ID_FILE_MRU_FILE10      "Open this document"
  269.     ID_FILE_MRU_FILE11      "Open this document"
  270.     ID_FILE_MRU_FILE12      "Open this document"
  271.     ID_FILE_MRU_FILE13      "Open this document"
  272.     ID_FILE_MRU_FILE14      "Open this document"
  273.     ID_FILE_MRU_FILE15      "Open this document"
  274.     ID_FILE_MRU_FILE16      "Open this document"
  275. END
  276. STRINGTABLE DISCARDABLE 
  277. BEGIN
  278.     ID_NEXT_PANE            "Switch to the next window panenNext Pane"
  279.     ID_PREV_PANE            "Switch back to the previous window panenPrevious Pane"
  280. END
  281. STRINGTABLE DISCARDABLE 
  282. BEGIN
  283.     ID_WINDOW_NEW           "Open another window for the active documentnNew Window"
  284.     ID_WINDOW_ARRANGE       "Arrange icons at the bottom of the windownArrange Icons"
  285.     ID_WINDOW_CASCADE       "Arrange windows so they overlapnCascade Windows"
  286.     ID_WINDOW_TILE_HORZ     "Arrange windows as non-overlapping tilesnTile Windows"
  287.     ID_WINDOW_TILE_VERT     "Arrange windows as non-overlapping tilesnTile Windows"
  288.     ID_WINDOW_SPLIT         "Split the active window into panesnSplit"
  289. END
  290. STRINGTABLE DISCARDABLE 
  291. BEGIN
  292.     ID_EDIT_CLEAR           "Erase the selectionnErase"
  293.     ID_EDIT_CLEAR_ALL       "Erase everythingnErase All"
  294.     ID_EDIT_COPY            "Copy the selection and put it on the ClipboardnCopy"
  295.     ID_EDIT_CUT             "Cut the selection and put it on the ClipboardnCut"
  296.     ID_EDIT_FIND            "Find the specified textnFind"
  297.     ID_EDIT_PASTE           "Insert Clipboard contentsnPaste"
  298.     ID_EDIT_REPEAT          "Repeat the last actionnRepeat"
  299.     ID_EDIT_REPLACE         "Replace specific text with different textnReplace"
  300.     ID_EDIT_SELECT_ALL      "Select the entire documentnSelect All"
  301.     ID_EDIT_UNDO            "Undo the last actionnUndo"
  302.     ID_EDIT_REDO            "Redo the previously undone actionnRedo"
  303. END
  304. STRINGTABLE DISCARDABLE 
  305. BEGIN
  306.     ID_VIEW_TOOLBAR         "Show or hide the toolbarnToggle ToolBar"
  307.     ID_VIEW_STATUS_BAR      "Show or hide the status barnToggle StatusBar"
  308. END
  309. STRINGTABLE DISCARDABLE 
  310. BEGIN
  311.     AFX_IDS_SCSIZE          "Change the window size"
  312.     AFX_IDS_SCMOVE          "Change the window position"
  313.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  314.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  315.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  316.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  317.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  318. END
  319. STRINGTABLE DISCARDABLE 
  320. BEGIN
  321.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  322.     AFX_IDS_SCTASKLIST      "Activate Task List"
  323.     AFX_IDS_MDICHILD        "Activate this window"
  324. END
  325. STRINGTABLE DISCARDABLE 
  326. BEGIN
  327.     AFX_IDS_PREVIEW_CLOSE   "Close print preview modenCancel Preview"
  328. END
  329. STRINGTABLE DISCARDABLE 
  330. BEGIN
  331.     AFX_ID_PREVIEW_CLOSE    "Close the previewnClose Preview"
  332.     AFX_ID_PREVIEW_NUMPAGE  "Display single page or double page viewn1 Page / 2 Page"
  333.     AFX_ID_PREVIEW_NEXT     "Go to the next pagenNext Page"
  334.     AFX_ID_PREVIEW_PREV     "Go to the previous pagenPrevious Page"
  335.     AFX_ID_PREVIEW_PRINT    "Print the previewed itemnPrint"
  336.     AFX_ID_PREVIEW_ZOOMIN   "Increase magnification of preview pagenZoom In"
  337.     AFX_ID_PREVIEW_ZOOMOUT  "Decrease magnification of preview pagenZoom Out"
  338. END
  339. #endif    // English (U.S.) resources
  340. /////////////////////////////////////////////////////////////////////////////
  341. #ifndef APSTUDIO_INVOKED
  342. /////////////////////////////////////////////////////////////////////////////
  343. //
  344. // Generated from the TEXTINCLUDE 3 resource.
  345. //
  346. #define _AFX_NO_SPLITTER_RESOURCES
  347. #define _AFX_NO_OLE_RESOURCES
  348. #define _AFX_NO_TRACKER_RESOURCES
  349. #define _AFX_NO_PROPERTY_RESOURCES
  350. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  351. #ifdef _WIN32
  352. LANGUAGE 9, 1
  353. #pragma code_page(1252)
  354. #endif //_WIN32
  355. #include "resPrintPreview.rc2"  // non-Microsoft Visual C++ edited resources
  356. #include "afxres.rc"         // Standard components
  357. #include "afxprint.rc"       // printing/print preview resources
  358. #endif
  359. /////////////////////////////////////////////////////////////////////////////
  360. #endif    // not APSTUDIO_INVOKED