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.

92 lines
3.5 KiB

  1. /* MCI capture */
  2. #define ID_COMPRESSOR 880
  3. #define ID_FORMAT 881
  4. #define ID_CONFIG 882
  5. #define ID_ABOUT 883
  6. #define ID_QUALITY 884
  7. #define ID_QUALITYTEXT 885
  8. #define ID_QUALITYLABEL 886
  9. #define ID_KEYFRAMEBOX 887
  10. #define ID_KEYFRAME 888
  11. #define ID_KEYFRAMETEXT 889
  12. #define ID_PREVIEW 890
  13. #define ID_PREVIEWWIN 891
  14. #define ID_PREVIEWSCROLL 892
  15. #define ID_PREVIEWTEXT 893
  16. #define ID_DATARATEBOX 894
  17. #define ID_DATARATE 895
  18. #define ID_DATARATETEXT 896
  19. #define ID_CHOOSE_SMALL 897
  20. #define ID_CHOOSE_NORMAL 898
  21. #define ID_CHOOSE_BIG 899
  22. #define ID_NOCOMPSTRING 900
  23. #define ID_FULLFRAMESSTRING 901
  24. #define ID_FRAMECOMPRESSING 902
  25. #define ID_FRAMESIZE 903
  26. #define ID_FRAME 904
  27. #define ID_NONSUPPORTED 905
  28. // How tall is this dialog without the PREVIEW button or DATARATE checkbox?
  29. #define ICM_CHOOSE_SMALL_HEIGHT 79
  30. #ifdef RC_INVOKED
  31. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  32. BEGIN
  33. ID_NOCOMPSTRING "No Recompression"
  34. ID_FULLFRAMESSTRING "Full Frames (Uncompressed)"
  35. ID_FRAMECOMPRESSING "Frame: %u\nCompressing.... (%ld%%)"
  36. ID_FRAMESIZE "Frame: %u\nSize: %lu / %lu (%d%%)"
  37. ID_FRAME "Frame: %u"
  38. ID_NONSUPPORTED "%s\r\n is a non-supported AVI Codec."
  39. END
  40. ICCDLG DIALOG 5, 16, 275, 91
  41. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  42. CAPTION "Video Compression"
  43. FONT 8, "MS Sans Serif"
  44. BEGIN
  45. LTEXT "&Compressor:", -1, 9, 6, 105, 8
  46. // ***
  47. // !!! PLEASE DO NOT SORT THIS COMBO BOX !!!
  48. // ***
  49. COMBOBOX ID_COMPRESSOR, 9, 16, 111, 67, CBS_DROPDOWNLIST |
  50. WS_VSCROLL | WS_TABSTOP
  51. LTEXT "Compression &Quality:", ID_QUALITYLABEL, 9, 34, 80, 8
  52. SCROLLBAR ID_QUALITY, 9, 44, 111, 9, WS_TABSTOP
  53. LTEXT "", ID_QUALITYTEXT, 86, 34, 33, 8
  54. CHECKBOX "&Key Frame Every", ID_KEYFRAMEBOX, 9, 60, 66, 12,
  55. BS_AUTOCHECKBOX | WS_TABSTOP
  56. EDITTEXT ID_KEYFRAME, 78, 60, 22, 12, WS_TABSTOP
  57. LTEXT "frames", ID_KEYFRAMETEXT, 103, 62, 26, 10
  58. // !!! width needs to be greater than size of dialog... why???
  59. CONTROL "", ID_CHOOSE_SMALL, "Static", SS_BLACKRECT,
  60. 0, ICM_CHOOSE_SMALL_HEIGHT, 185, 1
  61. CHECKBOX "&Data Rate", ID_DATARATEBOX, 9, 76, 66, 12,
  62. BS_AUTOCHECKBOX | WS_TABSTOP
  63. EDITTEXT ID_DATARATE, 78, 76, 22, 12, WS_TABSTOP
  64. LTEXT "KB/sec", ID_DATARATETEXT, 102, 78, 26, 10
  65. DEFPUSHBUTTON "OK", IDOK, 129, 2, 49, 14
  66. PUSHBUTTON "Cancel", IDCANCEL, 129, 18, 49, 14
  67. PUSHBUTTON "Con&figure...", ID_CONFIG, 129, 36, 49, 14
  68. PUSHBUTTON "&About...", ID_ABOUT, 129, 52, 49, 14
  69. PUSHBUTTON "&Preview>>", ID_PREVIEW, 136, 74, 42, 14
  70. // !!! Hacky constants again!
  71. CONTROL "", ID_CHOOSE_NORMAL, "Static", SS_BLACKRECT,
  72. 185, 0, 1, 100
  73. CONTROL "", ID_PREVIEWWIN, "Static", SS_SIMPLE, 188, 4, 80, 60
  74. SCROLLBAR ID_PREVIEWSCROLL, 188, 65, 80, 9, WS_TABSTOP
  75. LTEXT "", ID_PREVIEWTEXT, 179, 75, 96, 16
  76. // !!! Hacky constants again!
  77. CONTROL "", ID_CHOOSE_BIG, "Static", SS_BLACKRECT,
  78. 280, 0, 1, 100
  79. END
  80. #endif