1 /** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the mingw-w64 runtime package. 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package. 5 */ 6 #include <dlgs.h> 7 8 PRINTDLGORD DIALOG DISCARDABLE 32,32,288,186 9 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | 10 DS_CONTEXTHELP | DS_3DLOOK 11 CAPTION "Print" 12 FONT 8,"MS Shell Dlg" 13 BEGIN 14 GROUPBOX "Printer",grp4,8,4,272,84,WS_GROUP 15 LTEXT "&Name:",stc6,16,20,36,8 16 COMBOBOX cmb4,52,18,152,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP 17 PUSHBUTTON "&Properties...",psh2,212,17,60,14,WS_GROUP 18 LTEXT "Status:",stc8,16,36,36,10,SS_NOPREFIX 19 LTEXT "",stc12,52,36,224,10,SS_NOPREFIX | SS_LEFTNOWORDWRAP 20 LTEXT "Type:",stc7,16,48,36,10,SS_NOPREFIX 21 LTEXT "",stc11,52,48,224,10,SS_NOPREFIX | SS_LEFTNOWORDWRAP 22 LTEXT "Where:",stc10,16,60,36,10,SS_NOPREFIX 23 LTEXT "",stc14,52,60,224,10,SS_NOPREFIX | SS_LEFTNOWORDWRAP 24 LTEXT "Comment:",stc9,16,72,36,10,SS_NOPREFIX 25 LTEXT "",stc13,52,72,156,10,SS_NOPREFIX | SS_LEFTNOWORDWRAP 26 AUTOCHECKBOX "Print to fi&le",chx1,212,72,64,12,WS_GROUP 27 GROUPBOX "Print range",grp1,8,92,144,64,WS_GROUP 28 RADIOBUTTON "&All",rad1,16,106,64,12,WS_GROUP 29 RADIOBUTTON "Pa&ges",rad3,16,122,36,12 30 RADIOBUTTON "&Selection",rad2,16,138,64,12 31 RTEXT "&from:",stc2,52,124,20,8 32 EDITTEXT edt1,74,122,26,12,WS_GROUP | ES_NUMBER 33 RTEXT "&to:",stc3,102,124,16,8 34 EDITTEXT edt2,120,122,26,12,WS_GROUP | ES_NUMBER 35 GROUPBOX "Copies",grp2,160,92,120,64,WS_GROUP 36 LTEXT "Number of &copies:",stc5,168,108,68,8 37 EDITTEXT edt3,240,106,32,12,WS_GROUP | ES_NUMBER 38 ICON "",ico3,162,124,76,28,WS_GROUP | SS_CENTERIMAGE 39 AUTOCHECKBOX "C&ollate",chx2,240,130,36,12,WS_GROUP 40 DEFPUSHBUTTON "OK",IDOK,180,164,48,14,WS_GROUP 41 PUSHBUTTON "Cancel",IDCANCEL,232,164,48,14 42 PUSHBUTTON "&Help",pshHelp,8,164,48,14 43 END 44 45 PRNSETUPDLGORD DIALOG DISCARDABLE 32,32,288,178 46 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | 47 DS_CONTEXTHELP | DS_3DLOOK 48 CAPTION "Print Setup" 49 FONT 8,"MS Shell Dlg" 50 BEGIN 51 GROUPBOX "Printer",grp4,8,4,272,84,WS_GROUP 52 LTEXT "&Name:",stc6,16,20,36,8 53 COMBOBOX cmb1,52,18,152,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP 54 PUSHBUTTON "&Properties...",psh2,212,17,60,14,WS_GROUP 55 LTEXT "Status:",stc8,16,36,36,10,SS_NOPREFIX 56 LTEXT "",stc12,52,36,224,10,SS_NOPREFIX | SS_LEFTNOWORDWRAP 57 LTEXT "Type:",stc7,16,48,36,10,SS_NOPREFIX 58 LTEXT "",stc11,52,48,224,10,SS_NOPREFIX | SS_LEFTNOWORDWRAP 59 LTEXT "Where:",stc10,16,60,36,10,SS_NOPREFIX 60 LTEXT "",stc14,52,60,224,10,SS_NOPREFIX | SS_LEFTNOWORDWRAP 61 LTEXT "Comment:",stc9,16,72,36,10,SS_NOPREFIX 62 LTEXT "",stc13,52,72,224,10,SS_NOPREFIX | SS_LEFTNOWORDWRAP 63 GROUPBOX "Paper",grp2,8,92,164,56,WS_GROUP 64 LTEXT "Si&ze:",stc2,16,108,36,8 65 COMBOBOX cmb2,52,106,112,112,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP 66 LTEXT "&Source:",stc3,16,128,36,8 67 COMBOBOX cmb3,52,126,112,112,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP 68 GROUPBOX "Orientation",grp1,180,92,100,56,WS_GROUP 69 ICON "",ico1,190,112,25,28,WS_GROUP 70 RADIOBUTTON "P&ortrait",rad1,224,106,52,12,WS_GROUP | WS_TABSTOP 71 RADIOBUTTON "L&andscape",rad2,224,126,52,12 72 DEFPUSHBUTTON "OK",IDOK,180,156,48,14,WS_GROUP 73 PUSHBUTTON "Cancel",IDCANCEL,232,156,48,14 74 PUSHBUTTON "&Help",pshHelp,8,156,48,14 75 END 76 77 PAGESETUPDLGORD DIALOG DISCARDABLE 32,32,240,240 78 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | 79 DS_CONTEXTHELP | DS_3DLOOK 80 CAPTION "Page Setup" 81 FONT 8,"MS Shell Dlg" 82 BEGIN 83 CONTROL "",rct1,"Static",SS_WHITERECT | WS_GROUP,80,8,80,80 84 CONTROL "",rct2,"Static",SS_GRAYRECT | WS_GROUP,160,12,4,80 85 CONTROL "",rct3,"Static",SS_GRAYRECT | WS_GROUP,84,88,80,4 86 GROUPBOX "Paper",grp2,8,96,224,56,WS_GROUP 87 LTEXT "Si&ze:",stc2,16,112,36,8 88 COMBOBOX cmb2,64,110,160,160,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP 89 LTEXT "&Source:",stc3,16,132,36,8 90 COMBOBOX cmb3,64,130,160,160,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP 91 GROUPBOX "Orientation",grp1,8,156,64,56,WS_GROUP 92 RADIOBUTTON "P&ortrait",rad1,16,170,52,12,WS_GROUP | WS_TABSTOP 93 RADIOBUTTON "L&andscape",rad2,16,190,52,12 94 GROUPBOX "Margins",grp4,80,156,152,56,WS_GROUP 95 LTEXT "&Left:",stc15,88,172,32,8 96 EDITTEXT edt4,118,170,32,12,WS_GROUP 97 LTEXT "&Right:",stc16,164,172,32,8 98 EDITTEXT edt6,194,170,32,12,WS_GROUP 99 LTEXT "&Top:",stc17,88,192,32,8 100 EDITTEXT edt5,118,190,32,12,WS_GROUP 101 LTEXT "&Bottom:",stc18,164,192,32,8 102 EDITTEXT edt7,194,190,32,12,WS_GROUP 103 DEFPUSHBUTTON "OK",IDOK,80,220,48,14,WS_GROUP 104 PUSHBUTTON "Cancel",IDCANCEL,132,220,48,14 105 PUSHBUTTON "&Printer...",psh3,184,220,48,14 106 PUSHBUTTON "&Help",pshHelp,8,220,48,14 107 END 108 109 PRINTDLGEXORD DIALOG DISCARDABLE 0,0,280,75 110 STYLE DS_CONTROL | DS_3DLOOK | WS_CHILD 111 FONT 8,"MS Shell Dlg" 112 BEGIN 113 GROUPBOX "Page Range",grp1,0,0,149,73,WS_GROUP 114 115 RADIOBUTTON "A&ll",rad1,7,11,58,10,WS_GROUP 116 RADIOBUTTON "Selec&tion",rad2,7,24,49,10 117 RADIOBUTTON "C&urrent Page",rad3,58,24,58,10 118 RADIOBUTTON "Pa&ges:",rad4,7,38,38,10 119 EDITTEXT edt1,58,37,86,12,WS_GROUP | ES_AUTOHSCROLL 120 LTEXT "Enter page numbers and/or page ranges separated by commas. For example, 1,5-12",stc1,6,52,139,18,NOT WS_VISIBLE | WS_DISABLED 121 LTEXT "Enter either a single page number or a single page range. For example, 5-12",stc2,6,52,139,18,NOT WS_VISIBLE | WS_DISABLED 122 123 GROUPBOX "",grp2,159,0,118,73,WS_GROUP 124 125 LTEXT "Number of &copies:",stc3,164,13,61,10,WS_GROUP 126 EDITTEXT edt2,232,11,25,12,ES_NUMBER | WS_GROUP 127 128 AUTOCHECKBOX "C&ollate",chx1,166,38,35,10,WS_GROUP 129 ICON "",ico1,206,33,67,36,WS_GROUP | SS_CENTERIMAGE 130 END 131