Source code of Windows XP (NT5)
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.

70 lines
2.5 KiB

  1. #include "dlgs.h"
  2. #define LeftCol 16
  3. #define RightCol 120
  4. #define ButtonCol1 250
  5. #define LBS_DISABLENOSCROLL 0x1000L
  6. #if (WINVER < 0x0400)
  7. idDlgExportOptions DIALOG LOADONCALL MOVEABLE DISCARDABLE
  8. 36, 24, 308, 150
  9. CAPTION "Open"
  10. STYLE WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_MODALFRAME
  11. FONT 8, "MS Shell Dlg"
  12. BEGIN
  13. GROUPBOX "Export File", -1, 4, 6, 230, 138
  14. LTEXT "File &Name:", stc3, LeftCol, 16, 76, 9
  15. CONTROL "", edt1, "edit", ES_LEFT | ES_AUTOHSCROLL | WS_BORDER |
  16. WS_TABSTOP | WS_CHILD | ES_LOWERCASE,
  17. LeftCol, 26, 90, 12
  18. CONTROL "", lst1, "listbox",
  19. LBS_SORT | LBS_HASSTRINGS | LBS_NOTIFY | LBS_DISABLENOSCROLL
  20. | WS_VSCROLL | WS_CHILD | WS_BORDER | WS_TABSTOP
  21. | LBS_OWNERDRAWFIXED,
  22. LeftCol, 42, 90, 68
  23. LTEXT "&Folders:", -1, RightCol, 16, 92, 9
  24. LTEXT "", stc1, RightCol, 28, 92, 9, SS_NOPREFIX
  25. CONTROL "", lst2, "listbox",
  26. LBS_SORT | LBS_HASSTRINGS | LBS_NOTIFY | LBS_DISABLENOSCROLL
  27. | WS_VSCROLL | WS_CHILD | WS_BORDER | WS_TABSTOP
  28. | LBS_OWNERDRAWFIXED,
  29. RightCol, 42, 92, 68
  30. LTEXT "List Files of &Type:", stc2,LeftCol, 114, 90, 9
  31. CONTROL "", cmb1, "combobox", CBS_DROPDOWNLIST | CBS_AUTOHSCROLL |
  32. WS_BORDER | WS_VSCROLL | WS_TABSTOP | WS_CHILD,
  33. LeftCol, 124, 90, 36
  34. LTEXT "Dri&ves:", stc4, RightCol, 114, 92, 9
  35. CONTROL "", cmb2, "combobox",
  36. CBS_SORT | CBS_HASSTRINGS | CBS_OWNERDRAWFIXED | CBS_DROPDOWNLIST
  37. | WS_CHILD | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL
  38. | WS_TABSTOP,
  39. RightCol, 124, 92, 68
  40. GROUPBOX "Column Delimiter", IDD_EXPORTDELIMITERTEXT,
  41. 240, 104, 64, 40
  42. CONTROL "T&ab", IDD_EXPORTTAB, "Button", BS_RADIOBUTTON,
  43. 245, 118, 50, 10
  44. CONTROL "&Comma", IDD_EXPORTCOMMAS, "Button", BS_RADIOBUTTON,
  45. 245, 131, 50, 10
  46. DEFPUSHBUTTON "OK", IDOK, ButtonCol1, 6, 50, 14, WS_GROUP
  47. PUSHBUTTON "Cancel",IDCANCEL, ButtonCol1, 24, 50, 14, WS_GROUP
  48. PUSHBUTTON "Net&work", psh14, ButtonCol1, 52, 50, 14, WS_GROUP
  49. PUSHBUTTON "&Help", IDD_EXPORTHELP, ButtonCol1, 70, 50, 14, WS_GROUP
  50. END
  51. #else // for WINVER >= 0x0400
  52. idDlgExportOptions DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 275, 195
  53. STYLE WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | DS_3DLOOK | DS_CONTROL
  54. FONT 8, "MS Shell Dlg"
  55. BEGIN
  56. LTEXT "",stc32,0, 0, 275, 250
  57. END
  58. #endif
  59.