home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / mfc / include / afxprint.rc < prev    next >
Text File  |  1998-06-16  |  3KB  |  91 lines

  1. // This is a part of the Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992-1998 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Microsoft Foundation Classes Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Microsoft Foundation Classes product.
  10.  
  11. #ifndef __AFXPRINT_RC__
  12. #define __AFXPRINT_RC__
  13.  
  14. #ifndef __AFXRES_H__
  15.     #include <afxres.h>
  16. #endif
  17.  
  18. #ifdef APSTUDIO_INVOKED
  19. // This will prevent the VC++ Resource Editor user from saving this file
  20. 1 TEXTINCLUDE DISCARDABLE
  21. BEGIN
  22. "< Cannot change standard MFC resources! >\0"
  23. END
  24. #endif    // APSTUDIO_INVOKED
  25.  
  26. #ifndef _AFXDLL
  27.  
  28. /////////////////////////////////////////////////////////////////////////////
  29. // Printing Resources
  30.  
  31. AFX_IDC_MAGNIFY         CURSOR  DISCARDABLE     "res\\magnify.cur"
  32.  
  33. AFX_IDD_PRINTDLG DIALOG DISCARDABLE  6, 18, 133, 95
  34. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | 0x04
  35. FONT 8, "MS Shell Dlg"
  36. BEGIN
  37.     CTEXT           "Printing",IDC_STATIC,0,9,133,8
  38.     CTEXT           "",AFX_IDC_PRINT_DOCNAME,0,19,133,8
  39.     CTEXT           "on the",IDC_STATIC,0,29,133,8
  40.     CTEXT           "",AFX_IDC_PRINT_PRINTERNAME,0,39,133,8
  41.     CTEXT           "",AFX_IDC_PRINT_PORTNAME,0,49,133,8
  42.     CTEXT           "",AFX_IDC_PRINT_PAGENUM,0,59,133,8
  43.     PUSHBUTTON      "Cancel",IDCANCEL,46,74,40,14
  44. END
  45.  
  46. // Preview Toolbar Dialog
  47. AFX_IDD_PREVIEW_TOOLBAR DIALOG PRELOAD DISCARDABLE  0, 0, 330, 16
  48. STYLE WS_CHILD | 0x04
  49. FONT 8, "MS Shell Dlg"
  50. BEGIN
  51.     PUSHBUTTON      "&Print...",AFX_ID_PREVIEW_PRINT,2,2,44,12
  52.     PUSHBUTTON      "&Next Page",AFX_ID_PREVIEW_NEXT,48,2,44,12
  53.     PUSHBUTTON      "Pre&v Page",AFX_ID_PREVIEW_PREV,94,2,44,12
  54.     PUSHBUTTON      "",AFX_ID_PREVIEW_NUMPAGE,140,2,44,12
  55.     PUSHBUTTON      "Zoom &In",AFX_ID_PREVIEW_ZOOMIN,186,2,44,12
  56.     PUSHBUTTON      "Zoom &Out",AFX_ID_PREVIEW_ZOOMOUT,232,2,44,12
  57.     PUSHBUTTON      "&Close",AFX_ID_PREVIEW_CLOSE,278,2,44,12
  58. END
  59.  
  60. // Printing strings
  61. STRINGTABLE DISCARDABLE
  62. BEGIN
  63.     // print progress dialog strings
  64.     AFX_IDS_PRINTONPORT,            "on %1"         // for print output
  65.     AFX_IDS_ONEPAGE,                "&One Page"     // for preview button
  66.     AFX_IDS_TWOPAGE,                "&Two Page"     // for preview button
  67.     AFX_IDS_PRINTPAGENUM,           "Page %u"       // for print output
  68.     AFX_IDS_PREVIEWPAGEDESC,        "Page %u\nPages %u-%u\n"
  69.  
  70.     // print to file dialog strings
  71.     AFX_IDS_PRINTDEFAULTEXT,        "prn"           // default extension
  72.     AFX_IDS_PRINTDEFAULT,           "Output.prn"    // default file
  73.     AFX_IDS_PRINTFILTER,
  74.         "Printer Files (*.prn)|*.prn|All Files (*.*)|*.*||"
  75.     AFX_IDS_PRINTCAPTION,           "Print to File" // caption for browse dlg
  76.     AFX_IDS_PRINTTOFILE,            "to %1"         // to file
  77. END
  78.  
  79. // Print Preview Accelerator Table
  80. AFX_IDR_PREVIEW_ACCEL ACCELERATORS LOADONCALL MOVEABLE
  81. BEGIN
  82.     VK_NEXT,    AFX_ID_PREVIEW_NEXT,    VIRTKEY, NOINVERT
  83.     VK_PRIOR,   AFX_ID_PREVIEW_PREV,    VIRTKEY, NOINVERT
  84.     VK_ESCAPE,  AFX_ID_PREVIEW_CLOSE,   VIRTKEY, NOINVERT
  85. END
  86.  
  87. /////////////////////////////////////////////////////////////////////////////
  88.  
  89. #endif //!_AFXDLL
  90. #endif //__AFXPRINT_RC__
  91.