Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

174 lines
7.4 KiB

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