From e611b132f9b8abe35b362e5870b74bce94a1e58e Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 16 May 2020 20:51:50 -0700 Subject: initial commit --- public/sdk/inc/mfc42/afxprint.rc | 130 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 public/sdk/inc/mfc42/afxprint.rc (limited to 'public/sdk/inc/mfc42/afxprint.rc') diff --git a/public/sdk/inc/mfc42/afxprint.rc b/public/sdk/inc/mfc42/afxprint.rc new file mode 100644 index 000000000..a3f534c49 --- /dev/null +++ b/public/sdk/inc/mfc42/afxprint.rc @@ -0,0 +1,130 @@ +// This is a part of the Microsoft Foundation Classes C++ library. +// Copyright (C) 1992-1995 Microsoft Corporation +// All rights reserved. +// +// This source code is only intended as a supplement to the +// Microsoft Foundation Classes Reference and related +// electronic documentation provided with the library. +// See these sources for detailed information regarding the +// Microsoft Foundation Classes product. + +#ifndef __AFXPRINT_RC__ +#define __AFXPRINT_RC__ + +#ifndef __AFXRES_H__ + #include +#endif + +#ifdef APSTUDIO_INVOKED +// This will prevent the VC++ Resource Editor user from saving this file +1 TEXTINCLUDE DISCARDABLE +BEGIN +"< Cannot change standard MFC resources! >\0" +END +#endif // APSTUDIO_INVOKED + +#ifndef _AFXDLL + +///////////////////////////////////////////////////////////////////////////// +// Printing Resources + +AFX_IDC_MAGNIFY CURSOR DISCARDABLE "res\\magnify.cur" + +#ifndef _MAC +AFX_IDD_PRINTDLG DIALOG DISCARDABLE 6, 18, 133, 95 +STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | 0x04 +#else +AFX_IDD_PRINTDLG DIALOG DISCARDABLE 6, 18, 133, 84 +STYLE DS_MODALFRAME | WS_POPUP +#endif +FONT 8, "MS Shell Dlg" +BEGIN + CTEXT "Printing",IDC_STATIC,0,9,133,8 + CTEXT "",AFX_IDC_PRINT_DOCNAME,0,19,133,8 +#ifndef _MAC + CTEXT "on the",IDC_STATIC,0,29,133,8 + CTEXT "",AFX_IDC_PRINT_PRINTERNAME,0,39,133,8 + CTEXT "",AFX_IDC_PRINT_PORTNAME,0,49,133,8 + CTEXT "",AFX_IDC_PRINT_PAGENUM,0,59,133,8 + PUSHBUTTON "Cancel",IDCANCEL,46,74,40,14 +#else + CTEXT "",AFX_IDC_PRINT_PAGENUM,0,30,133,8 + PUSHBUTTON "Cancel",IDCANCEL,46,45,40,15 + CTEXT "Press Cmd-. to cancel.",IDC_STATIC,0,63,133,16 +#endif +END + +// Preview Toolbar Dialog +#ifndef _MAC +AFX_IDD_PREVIEW_TOOLBAR DIALOG PRELOAD DISCARDABLE 0, 0, 330, 16 +STYLE WS_CHILD | 0x04 +FONT 8, "MS Shell Dlg" +BEGIN + PUSHBUTTON "&Print...",AFX_ID_PREVIEW_PRINT,2,2,44,12 + PUSHBUTTON "&Next Page",AFX_ID_PREVIEW_NEXT,48,2,44,12 + PUSHBUTTON "Pre&v Page",AFX_ID_PREVIEW_PREV,94,2,44,12 + PUSHBUTTON "",AFX_ID_PREVIEW_NUMPAGE,140,2,44,12 + PUSHBUTTON "Zoom &In",AFX_ID_PREVIEW_ZOOMIN,186,2,44,12 + PUSHBUTTON "Zoom &Out",AFX_ID_PREVIEW_ZOOMOUT,232,2,44,12 + PUSHBUTTON "&Close",AFX_ID_PREVIEW_CLOSE,278,2,44,12 +END +#else +// standard toolbar for 14 inch and larger screens +// width *must* be 320 or less so that this is used on 640x480 screens +AFX_IDD_PREVIEW_TOOLBAR DIALOG PRELOAD DISCARDABLE 0, 0, 320, 19 +STYLE WS_CHILD | CBRS_TOP +BEGIN + PUSHBUTTON "&Print...",AFX_ID_PREVIEW_PRINT,1,2,44,15 + PUSHBUTTON "&Next Page",AFX_ID_PREVIEW_NEXT,46,2,44,15 + PUSHBUTTON "Pre&v Page",AFX_ID_PREVIEW_PREV,91,2,44,15 + PUSHBUTTON "",AFX_ID_PREVIEW_NUMPAGE,136,2,44,15 + PUSHBUTTON "Zoom &In",AFX_ID_PREVIEW_ZOOMIN,181,2,44,15 + PUSHBUTTON "Zoom &Out",AFX_ID_PREVIEW_ZOOMOUT,226,2,44,15 + PUSHBUTTON "&Close",AFX_ID_PREVIEW_CLOSE,271,2,44,15 +END + +// short toolbar for 9 inch and 12 inch screens +AFX_IDD_PREVIEW_SHORTTOOLBAR DIALOG PRELOAD DISCARDABLE 0, 0, 270, 19 +STYLE WS_CHILD | CBRS_TOP +BEGIN + PUSHBUTTON "&Print...",AFX_ID_PREVIEW_PRINT,1,2,44,15 + PUSHBUTTON "&Next",AFX_ID_PREVIEW_NEXT,46,2,29,15 + PUSHBUTTON "Pre&v",AFX_ID_PREVIEW_PREV,76,2,29,15 + PUSHBUTTON "",AFX_ID_PREVIEW_NUMPAGE,106,2,44,15 + PUSHBUTTON "&In",AFX_ID_PREVIEW_ZOOMIN,151,2,29,15 + PUSHBUTTON "&Out",AFX_ID_PREVIEW_ZOOMOUT,181,2,29,15 + PUSHBUTTON "&Close",AFX_ID_PREVIEW_CLOSE,211,2,44,15 +END +#endif + +// Printing strings +STRINGTABLE DISCARDABLE +BEGIN + // print progress dialog strings + AFX_IDS_PRINTONPORT, "on %1" // for print output + AFX_IDS_ONEPAGE, "&One Page" // for preview button + AFX_IDS_TWOPAGE, "&Two Page" // for preview button + AFX_IDS_PRINTPAGENUM, "Page %u" // for print output + AFX_IDS_PREVIEWPAGEDESC, "Page %u\nPages %u-%u\n" + + // print to file dialog strings + AFX_IDS_PRINTDEFAULTEXT, "prn" // default extension + AFX_IDS_PRINTDEFAULT, "Output.prn" // default file + AFX_IDS_PRINTFILTER, + "Printer Files (*.prn)|*.prn|All Files (*.*)|*.*||" + AFX_IDS_PRINTCAPTION, "Print to File" // caption for browse dlg + AFX_IDS_PRINTTOFILE, "to %1" // to file +END + +// Print Preview Accelerator Table +AFX_IDR_PREVIEW_ACCEL ACCELERATORS LOADONCALL MOVEABLE +BEGIN + VK_NEXT, AFX_ID_PREVIEW_NEXT, VIRTKEY, NOINVERT + VK_PRIOR, AFX_ID_PREVIEW_PREV, VIRTKEY, NOINVERT + VK_ESCAPE, AFX_ID_PREVIEW_CLOSE, VIRTKEY, NOINVERT +END + +///////////////////////////////////////////////////////////////////////////// + +#endif //!_AFXDLL +#endif //__AFXPRINT_RC__ -- cgit v1.2.3