//
#ifndef UNICODE
#define UNICODE
#endif

#include "windows.h"
#include "resource.h"

#ifndef IDC_STATIC
#define IDC_STATIC -1
#endif

/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources

#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32

/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_SMBRDR DIALOGEX 0, 0, 180, 114
STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "SMB MiniRDR"
//FONT 8, "MS Sans Serif"
FONT 8, "MS Shell Dlg"
BEGIN
    LTEXT           "",IDC_STATIC, 4, 3,91,44,0,WS_EX_CLIENTEDGE
    LTEXT           "",IDC_STATIC, 4,50,91,44,0,WS_EX_CLIENTEDGE
    LTEXT           "",IDC_STATIC,98, 3,78,56,0,WS_EX_CLIENTEDGE
    GROUPBOX        "",IDC_STATIC,98,58,78,36
    CTEXT           "Driver Unloaded",IDC_LOADSTATUS,4,97,66,12,0,WS_EX_CLIENTEDGE
    CTEXT           "RDR Stopped",IDC_STARTSTATUS,71,97,60,12,0,WS_EX_CLIENTEDGE
    CTEXT           "00:00",IDC_STARTTIME,154,97,22,12,0,WS_EX_CLIENTEDGE
    CTEXT           "OK",IDC_BUSY,133,97,19,12,0,WS_EX_CLIENTEDGE

    CONTROL         "Load",IDC_DRVLOAD,"Button",BS_AUTORADIOBUTTON | WS_GROUP | 
                    BS_PUSHLIKE,11,21,40,20,WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE
    CONTROL         "Unload",IDC_DRVUNLOAD,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE,48,21,40,20,WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE
    CONTROL         "Start",IDC_RDRSTART,"Button",BS_AUTORADIOBUTTON | WS_GROUP | 
                    BS_PUSHLIKE,11,67,40,20, WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE
    CONTROL         "Stop",IDC_RDRSTOP,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE,48,67,40,20, WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE 

    LTEXT           "Driver Control",IDC_DRVCONTROLTEXT,5,4,89,12,0,WS_EX_DLGMODALFRAME
    LTEXT           "RDR Control",IDC_RDRCONTROLTEXT, 5,51,89,12,0,WS_EX_DLGMODALFRAME
    LTEXT           "Settings",IDC_SETTINGSTEXT,99,4,76,12,0,WS_EX_DLGMODALFRAME

    PUSHBUTTON      "Provider",IDC_PROVIDER,112,20,50,16,0,WS_EX_CLIENTEDGE
    PUSHBUTTON      "Statistics",IDC_STATISTICS,112,40,50,16,0,WS_EX_CLIENTEDGE
    DEFPUSHBUTTON   "Hide",IDC_HIDE,112,70,50,16,0,WS_EX_CLIENTEDGE
END

IDD_STATISTICS DIALOG DISCARDABLE  0, 0, 229, 165
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Statisics"
//FONT 8, "MS Sans Serif"
FONT 8, "MS Shell Dlg"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,172,144,50,14
    LTEXT           "Bytes Recieved",IDC_STATIC,17,23,51,8
    LTEXT           "Bytes Transmitted",IDC_STATIC,76,23,57,8
    EDITTEXT        IDC_EDIT1,21,39,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT2,85,36,40,14,ES_AUTOHSCROLL
    LTEXT           "SMBs Received",IDC_STATIC,18,67,52,8
    EDITTEXT        IDC_EDIT3,21,82,40,14,ES_AUTOHSCROLL
    LTEXT           "SMBs Transmitted",IDC_STATIC,81,68,58,8
    EDITTEXT        IDC_EDIT4,84,82,40,14,ES_AUTOHSCROLL
    LTEXT           "Sessions",IDC_STATIC,24,122,29,8
    LTEXT           "Network Errors",IDC_STATIC,85,116,48,8
    EDITTEXT        IDC_EDIT5,21,135,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT6,88,132,40,14,ES_AUTOHSCROLL
    LTEXT           "Reconnects",IDC_STATIC,162,20,40,8
    LTEXT           "Disconnects",IDC_STATIC,161,62,40,8
    EDITTEXT        IDC_EDIT7,161,34,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT8,163,83,40,14,ES_AUTOHSCROLL
    GROUPBOX        "Data Transfer",IDC_STATIC,11,11,132,96
END

IDD_PROVIDER DIALOG DISCARDABLE  0, 0, 186, 95
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Provider Setting"
//FONT 8, "MS Sans Serif"
FONT 8, "MS Shell Dlg"
BEGIN
    GROUPBOX        "",IDC_STATIC,7,4,171,60
    LTEXT           "Provider Order",IDC_STATIC,14,15,50,10,0, WS_EX_STATICEDGE
    LISTBOX         IDC_ORDERLIST,14,30,108,28, LBS_NOINTEGRALHEIGHT | WS_TABSTOP
    PUSHBUTTON      "^ Move Up",IDC_MOVEUP,128,30,44,15,0,WS_EX_CLIENTEDGE
    PUSHBUTTON      "v Move Dn",IDC_MOVEDN,128,43,44,15,0,WS_EX_CLIENTEDGE
    DEFPUSHBUTTON   "OK",IDOK,72,73,50,16,0,WS_EX_CLIENTEDGE
    PUSHBUTTON      "Cancel",IDCANCEL,129,73,50,16,0,WS_EX_CLIENTEDGE
END



/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_SMBRDR              ICON    DISCARDABLE     "smbrdr.ico"





