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.

95 lines
3.7 KiB

  1. //---------------------------------------------------------------------------
  2. // FileOpen.dlg : File Open and Save As dialog descriptions
  3. //
  4. // Copyright (c) Microsoft Corporation, 1990-
  5. //---------------------------------------------------------------------------
  6. #include "dlgs.h"
  7. #define LeftCol 16
  8. #define RightCol 120
  9. #define ButtonCol 243
  10. #define LBS_DISABLENOSCROLL 0x1000L
  11. #if (WINVER < 0x0400)
  12. idDlgLogOptions DIALOG LOADONCALL MOVEABLE DISCARDABLE
  13. 36, 24, 300, 208
  14. CAPTION "Open"
  15. STYLE WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_MODALFRAME
  16. FONT 8, "MS Shell Dlg"
  17. BEGIN
  18. GROUPBOX "Log File", -1, 4, 6, 220, 145
  19. LTEXT "File &Name:", stc3, LeftCol, 16, 76, 9
  20. CONTROL "", edt1, "edit", ES_LEFT | ES_AUTOHSCROLL | WS_BORDER |
  21. WS_TABSTOP | WS_CHILD | ES_LOWERCASE,
  22. LeftCol, 26, 90, 12
  23. CONTROL "", lst1, "listbox",
  24. LBS_SORT | LBS_HASSTRINGS | LBS_NOTIFY | LBS_DISABLENOSCROLL
  25. | WS_VSCROLL | WS_CHILD | WS_BORDER | WS_TABSTOP
  26. | LBS_OWNERDRAWFIXED,
  27. LeftCol, 42, 90, 68
  28. LTEXT "&Folders:", -1, RightCol, 16, 92, 9
  29. LTEXT "", stc1, RightCol, 28, 92, 9, SS_NOPREFIX
  30. CONTROL "", lst2, "listbox",
  31. LBS_SORT | LBS_HASSTRINGS | LBS_NOTIFY | LBS_DISABLENOSCROLL
  32. | WS_VSCROLL | WS_CHILD | WS_BORDER | WS_TABSTOP
  33. | LBS_OWNERDRAWFIXED,
  34. RightCol, 42, 92, 68
  35. LTEXT "List Files of &Type:", stc2,LeftCol, 114, 90, 9
  36. CONTROL "", cmb1, "combobox", CBS_DROPDOWNLIST | CBS_AUTOHSCROLL |
  37. WS_BORDER | WS_VSCROLL | WS_TABSTOP | WS_CHILD,
  38. LeftCol, 124, 90, 36
  39. LTEXT "Dri&ves:", stc4, RightCol, 114, 92, 9
  40. CONTROL "", cmb2, "combobox",
  41. CBS_SORT | CBS_HASSTRINGS | CBS_OWNERDRAWFIXED | CBS_DROPDOWNLIST
  42. | WS_CHILD | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL
  43. | WS_TABSTOP,
  44. RightCol, 124, 92, 68
  45. GROUPBOX "Update Time", 210, 4, 157, 172, 46
  46. LTEXT "&Interval (seconds):", IDD_LOGOPTINTERVALTEXT,
  47. 79, 164, 90, 9
  48. CONTROL "", IDD_LOGOPTINTERVAL, "combobox", CBS_DROPDOWN | CBS_AUTOHSCROLL |
  49. WS_BORDER | WS_VSCROLL | WS_TABSTOP | WS_CHILD,
  50. 79, 174, 90, 36
  51. CONTROL "&Periodic Update", IDD_LOGOPTIONSPERIODIC, "Button",
  52. BS_RADIOBUTTON, 9, 174, 66, 10
  53. CONTROL "&Manual Update", IDD_LOGOPTIONSMANUALREFRESH, "Button",
  54. BS_RADIOBUTTON, 9, 189, 66, 10
  55. DEFPUSHBUTTON "OK", IDOK, ButtonCol, 6, 50, 14, WS_GROUP
  56. PUSHBUTTON "Cancel",IDCANCEL, ButtonCol, 24, 50, 14, WS_GROUP
  57. PUSHBUTTON "&Start Log", IDD_LOGOPTSTART, ButtonCol, 52, 50, 14, WS_GROUP
  58. PUSHBUTTON "&Help", ID_HELP, ButtonCol, 98, 50, 14, WS_GROUP
  59. PUSHBUTTON "Net&work", psh14, ButtonCol, 124, 50, 14, WS_GROUP
  60. AUTOCHECKBOX "&Read Only", chx1, ButtonCol, 68, 50, 12,
  61. WS_TABSTOP | WS_GROUP
  62. END
  63. #else // for WINVER >= 0x0400
  64. idDlgLogOptions DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 275, 50
  65. STYLE WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | DS_3DLOOK | DS_CONTROL
  66. FONT 8, "MS Shell Dlg"
  67. BEGIN
  68. GROUPBOX "Update Time", 210, 4, 0, 172, 46
  69. LTEXT "&Interval (seconds):", IDD_LOGOPTINTERVALTEXT,
  70. 79, 7, 90, 9
  71. CONTROL "", IDD_LOGOPTINTERVAL, "combobox", CBS_DROPDOWN | CBS_AUTOHSCROLL |
  72. WS_BORDER | WS_VSCROLL | WS_TABSTOP | WS_CHILD,
  73. 79, 17, 90, 36
  74. CONTROL "&Periodic Update", IDD_LOGOPTIONSPERIODIC, "Button",
  75. BS_RADIOBUTTON, 9, 18, 66, 10
  76. CONTROL "&Manual Update", IDD_LOGOPTIONSMANUALREFRESH, "Button",
  77. BS_RADIOBUTTON, 9, 30, 66, 10
  78. PUSHBUTTON "Start &Log", IDD_LOGOPTSTART, 222, 3, 50, 14, WS_GROUP
  79. END
  80. #endif
  81. 
  82.