1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
// Microsoft Foundation Classes C++ library.
// Copyright (C) 1992 Microsoft Corporation,
// All rights reserved.
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and Microsoft
// QuickHelp and/or WinHelp 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 <afxres.h>
#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" 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" and 12" 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__
|