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.

73 lines
3.2 KiB

  1. #define WS_TABONLY (WS_TABSTOP | WS_GROUP)
  2. #define ID_NULL -1
  3. #define WIDTHPRINTDLG 200
  4. IDD_ABORTPRINT DIALOG 20,20,WIDTHPRINTDLG, 64
  5. STYLE WS_POPUPWINDOW | DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  6. CAPTION "Notepad"
  7. FONT 8 "MS Shell Dlg"
  8. BEGIN
  9. defpushbutton "Cancel" IDCANCEL, 84, 44, 32, 14, GRP
  10. ctext "Now Printing", -1, 0, 8, WIDTHPRINTDLG, 8
  11. ctext "", ID_FILENAME, 0, 18, WIDTHPRINTDLG, 8, SS_PATHELLIPSIS | SS_CENTER
  12. ctext "", ID_PAGENUMBER, 0, 28, WIDTHPRINTDLG, 8, SS_CENTER
  13. END
  14. NpEncodingDialog DIALOG 30, 17, 300, 22
  15. STYLE WS_CHILD | DS_3DLOOK | WS_CLIPSIBLINGS | DS_CONTEXTHELP | DS_CONTROL
  16. FONT 8, "MS Shell Dlg"
  17. BEGIN
  18. CONTROL "&Encoding:", IDC_ENCODING, "static" SS_LEFT , 68,1, 40,40
  19. COMBOBOX IDC_FILETYPE, 130,0, 164,100, CBS_DROPDOWNLIST | WS_VSCROLL | WS_GROUP | WS_TABSTOP
  20. END
  21. IDD_PAGESETUP DIALOG DISCARDABLE 0, 0, 356, 196
  22. STYLE DS_MODALFRAME | 4L | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CONTEXTHELP
  23. CAPTION "Page Setup"
  24. FONT 8, "MS Shell Dlg"
  25. BEGIN
  26. GROUPBOX "Paper",1073,8,8,224,56,WS_GROUP
  27. LTEXT "Si&ze:",1089,16,24,36,8
  28. COMBOBOX 1137,64,23,160,160,CBS_DROPDOWNLIST | CBS_SORT |
  29. WS_VSCROLL | WS_GROUP | WS_TABSTOP
  30. LTEXT "&Source:",1090,16,45,36,8
  31. COMBOBOX 1138,64,42,160,160,CBS_DROPDOWNLIST | CBS_SORT |
  32. WS_VSCROLL | WS_GROUP | WS_TABSTOP
  33. GROUPBOX "Orientation",1072,8,69,64,56,WS_GROUP
  34. CONTROL "P&ortrait",1056,"Button",BS_AUTORADIOBUTTON | WS_GROUP |
  35. WS_TABSTOP,16,82,52,12
  36. CONTROL "L&andscape",1057,"Button",BS_AUTORADIOBUTTON,16,103,52,
  37. 12
  38. GROUPBOX "Margins",1075,80,69,152,56,WS_GROUP
  39. LTEXT "&Left:",1102,88,85,32,8
  40. EDITTEXT 1155,120,82,28,12,WS_GROUP
  41. LTEXT "&Right:",1103,164,85,32,8
  42. EDITTEXT 1157,196,82,28,12,WS_GROUP
  43. LTEXT "&Top:",1104,88,104,32,8
  44. EDITTEXT 1156,120,103,28,12,WS_GROUP
  45. LTEXT "&Bottom:",1105,164,104,32,8
  46. EDITTEXT 1158,196,103,28,12,WS_GROUP
  47. LTEXT "&Header:",ID_HEADER_LABEL,8,135,29,8
  48. EDITTEXT ID_HEADER,56,134,174,12,ES_AUTOHSCROLL
  49. LTEXT "&Footer:",ID_FOOTER_LABEL,8,154,29,8
  50. EDITTEXT ID_FOOTER,56,153,174,12,ES_AUTOHSCROLL
  51. DEFPUSHBUTTON "OK",IDOK,190,174,50,14,WS_GROUP
  52. PUSHBUTTON "Cancel",IDCANCEL,244,174,50,14
  53. PUSHBUTTON "&Printer...",1026,298,174,50,14
  54. GROUPBOX "Preview",-1,240,8,108,158
  55. CONTROL "",1080,"Static",SS_WHITERECT,254,46,80,80
  56. CONTROL "",1081,"Static",SS_GRAYRECT,334,50,4,80
  57. CONTROL "",1082,"Static",SS_GRAYRECT,262,122,80,4
  58. END
  59. IDD_GOTODIALOG DIALOG DISCARDABLE 0, 0, 180, 57
  60. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CONTEXTHELP
  61. CAPTION "Goto line"
  62. FONT 8, "MS Shell Dlg"
  63. BEGIN
  64. LTEXT "&Line Number:", 1200, 7, 9, 50, 10
  65. EDITTEXT IDC_GOTO,55,7,57,12,ES_AUTOHSCROLL+ES_NUMBER
  66. DEFPUSHBUTTON "OK",IDOK,7,34,50,14
  67. PUSHBUTTON "Cancel",IDCANCEL,78,34,50,14
  68. END