#include "resource.h"
#include <afxres.h>


IDD_MAIN_DIALOG DIALOGEX 0, 0, 640, 400
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
EXSTYLE WS_EX_APPWINDOW
CAPTION "hwscapture_mfc_demo"
FONT 9, "Segoe UI"
BEGIN
END

IDD_VIDEO_SOURCE DIALOGEX 0, 0, 370, 112
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Properties: Video Capture Device"
FONT 9, "Segoe UI"
BEGIN
    LTEXT           "Video Input Device", -1, 10, 16, 100, 12
    COMBOBOX        IDC_DEVICE_COMBO, 115, 12, 240, 80, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Resolution/FPS/Format", -1, 10, 44, 100, 12
    COMBOBOX        IDC_CAP_COMBO, 115, 40, 240, 100, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    DEFPUSHBUTTON   "OK", IDOK, 210, 82, 65, 18
    PUSHBUTTON      "Cancel", IDCANCEL, 290, 82, 65, 18
END

IDD_AUDIO_SOURCE DIALOGEX 0, 0, 360, 86
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Properties: Audio Input Capture"
FONT 9, "Segoe UI"
BEGIN
    LTEXT           "Audio Input Device", -1, 10, 18, 100, 12
    COMBOBOX        IDC_DEVICE_COMBO, 115, 14, 230, 80, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    DEFPUSHBUTTON   "OK", IDOK, 200, 58, 65, 18
    PUSHBUTTON      "Cancel", IDCANCEL, 280, 58, 65, 18
END

IDD_CROP_DIALOG DIALOGEX 0, 0, 240, 128
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Video Crop"
FONT 9, "Segoe UI"
BEGIN
    LTEXT           "Left", -1, 12, 16, 50, 12
    EDITTEXT        IDC_EDIT_X, 70, 12, 60, 14, ES_AUTOHSCROLL
    LTEXT           "Top", -1, 12, 38, 50, 12
    EDITTEXT        IDC_EDIT_Y, 70, 34, 60, 14, ES_AUTOHSCROLL
    LTEXT           "Width", -1, 12, 60, 50, 12
    EDITTEXT        IDC_EDIT_W, 70, 56, 60, 14, ES_AUTOHSCROLL
    LTEXT           "Height", -1, 12, 82, 50, 12
    EDITTEXT        IDC_EDIT_H, 70, 78, 60, 14, ES_AUTOHSCROLL
    DEFPUSHBUTTON   "OK", IDOK, 92, 104, 60, 18
    PUSHBUTTON      "Cancel", IDCANCEL, 166, 104, 60, 18
END
