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.

36 lines
1.5 KiB

  1. #ifndef WIN16
  2. iddInsertFile DIALOG DISCARDABLE 0, 0, 291, 20
  3. STYLE WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS |DS_CONTROL
  4. FONT 8, "MS Shell Dlg"
  5. BEGIN
  6. CONTROL "Make &Shortcut to this file",1041,"Button",
  7. BS_AUTOCHECKBOX | WS_TABSTOP,5,0,120,12
  8. END
  9. #else //!WIN16
  10. #include <dlgs.h>
  11. iddInsertFile DIALOG DISCARDABLE 36, 24, 264, 134
  12. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  13. CAPTION "Open"
  14. FONT 8, DLG_UI_FONT
  15. BEGIN
  16. LTEXT "File &Name:",stc3,6,6,76,10
  17. EDITTEXT edt1,6,16,90,12,ES_LOWERCASE | ES_AUTOHSCROLL |
  18. ES_OEMCONVERT
  19. LISTBOX lst1,12,28,84,68,LBS_SORT | LBS_OWNERDRAWFIXED |
  20. LBS_HASSTRINGS | WS_VSCROLL | WS_TABSTOP
  21. LTEXT "&Directories:",-1,110,6,92,9
  22. LTEXT "",stc1,110,16,92,9,SS_NOPREFIX
  23. LISTBOX lst2,110,28,92,68,LBS_SORT | LBS_OWNERDRAWFIXED |
  24. LBS_HASSTRINGS | WS_VSCROLL | WS_TABSTOP
  25. LTEXT "List Files of &Type:",stc2,6,102,90,9
  26. COMBOBOX cmb1,6,112,90,36,CBS_DROPDOWNLIST | CBS_AUTOHSCROLL |
  27. WS_BORDER | WS_VSCROLL | WS_TABSTOP
  28. LTEXT "Dri&ves:",stc4,110,102,92,9
  29. COMBOBOX cmb2,110,112,92,68,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED |
  30. CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER |
  31. WS_VSCROLL | WS_TABSTOP
  32. DEFPUSHBUTTON "Attach",IDOK,208,6,50,14,WS_GROUP
  33. PUSHBUTTON "Cancel",IDCANCEL,208,24,50,14,WS_GROUP
  34. END
  35. #endif //!WIN16