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.

69 lines
2.9 KiB

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