#include <windows.h>
#include "resources.h"

#ifndef UPDOWN_CLASS
#define UPDOWN_CLASS L"msctls_updown32"
#endif

MainMenu MENU DISCARDABLE
BEGIN
        POPUP "&File"
        BEGIN
                MENUITEM "&Hard Reset",           IDM_FILE_HRESET
                MENUITEM "&Ctrl+Alt+Del",         IDM_FILE_RESET_CAD
                MENUITEM "E&xit",                 IDM_FILE_EXIT
        END
        POPUP "&Disc"
        BEGIN
                MENUITEM "Change drive &A:...", IDM_DISC_A
                MENUITEM "Change drive &B:...", IDM_DISC_B
                MENUITEM "&Eject drive A:",     IDM_EJECT_A
                MENUITEM "Eject drive B:",      IDM_EJECT_B
                MENUITEM SEPARATOR
                MENUITEM "Disable BPB checking", IDM_BPB_DISABLE
                MENUITEM SEPARATOR                
                MENUITEM "&Configure hard discs...",IDM_HDCONF
        END
	POPUP "C&assette"
	BEGIN
		MENUITEM "&Load tapefile...", IDM_CASSETTE_LOAD
		MENUITEM "&Eject tape", IDM_CASSETTE_EJECT
	END
        POPUP "&Settings"
        BEGIN
                MENUITEM "&Configure...", IDM_CONFIG
                POPUP "&CD-ROM"
                BEGIN
                        MENUITEM "&Disabled", IDM_CDROM_DISABLED
                        MENUITEM "&Empty",IDM_CDROM_EMPTY
                        MENUITEM "&Image...",IDM_CDROM_IMAGE
                END
                POPUP "&Video"
                BEGIN
                        MENUITEM "&Resizeable window",IDM_VID_RESIZE
                        MENUITEM "Force 4:3 &aspect ratio",IDM_VID_ASPECT
                        MENUITEM "Remember size && position",IDM_VID_REMEMBER
                        MENUITEM SEPARATOR
                        MENUITEM "&DirectDraw", IDM_VID_DDRAW
                        MENUITEM "Direct&3D",   IDM_VID_D3D
                        MENUITEM SEPARATOR
                        MENUITEM "&Fullscreen", IDM_VID_FULLSCREEN
                        POPUP "Fullscreen &stretch mode"
                        BEGIN
                                MENUITEM "&Full screen stretch", IDM_VID_FS_FULL
                                MENUITEM "&4:3", IDM_VID_FS_43
                                MENUITEM "&Square pixels", IDM_VID_FS_SQ
                                MENUITEM "&Integer scale", IDM_VID_FS_INT
                        END
                        MENUITEM SEPARATOR
                        MENUITEM "Disc activity indicator", IDM_VID_DISC
                END
                POPUP "&Sound"
                BEGIN
                        POPUP "&Buffer length"
                        BEGIN
                                MENUITEM "&100ms", IDM_BUF_100MS
                                MENUITEM "&200ms", IDM_BUF_200MS
                                MENUITEM "&400ms", IDM_BUF_400MS
                        END
                END
        END
        POPUP "&Misc"
        BEGIN
                MENUITEM "&Status", IDM_STATUS
        END
END

#ifdef USE_NETWORKING
ConfigureDlg DIALOGEX 0, 0, 292, 432
#else
ConfigureDlg DIALOGEX 0, 0, 292, 412
#endif
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Configure PCem"
FONT 8, "MS Sans Serif"
BEGIN
#ifdef USE_NETWORKING
    DEFPUSHBUTTON   "OK",IDOK,64,408,50,14, WS_TABSTOP
    PUSHBUTTON      "Cancel",IDCANCEL,128,408,50,14, WS_TABSTOP
#else
    DEFPUSHBUTTON   "OK",IDOK,64,388,50,14, WS_TABSTOP
    PUSHBUTTON      "Cancel",IDCANCEL,128,388,50,14, WS_TABSTOP
#endif
    COMBOBOX        IDC_COMBO1,62,16,157,120,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      "Configure", IDC_CONFIGUREMOD, 224, 16, 40, 14, WS_TABSTOP
    COMBOBOX        IDC_COMBOVID,62,36,157,120,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      "Configure", IDC_CONFIGUREVID, 224, 36, 40, 14, WS_TABSTOP
    COMBOBOX        IDC_COMBOCPUM,62,56,157,120,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_COMBO3,62,76,157,120,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Dynamic Recompiler",IDC_CHECKDYNAREC,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,96,118,10
    COMBOBOX        IDC_COMBOWS, 62,116,157,120,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_COMBOSPD,62,136,157,120,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_COMBOSND,62,156,157,120,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      "Configure", IDC_CONFIGURESND, 224, 156, 40, 14, WS_TABSTOP
    EDITTEXT        IDC_MEMTEXT, 62, 172, 36, 14, ES_AUTOHSCROLL | ES_NUMBER
    CONTROL         "", IDC_MEMSPIN, UPDOWN_CLASS, UDS_ALIGNRIGHT | UDS_ARROWKEYS | UDS_NOTHOUSANDS | UDS_SETBUDDYINT, 98, 172, 12, 14
    LTEXT           "MB", IDC_TEXT_MB, 98, 172, 40, 10
    LTEXT           "Machine :",IDC_STATIC,15,16,40,10
    LTEXT           "Video :",IDC_STATIC,15,36,34,10
    LTEXT           "CPU type :",IDC_STATIC,15,56,34,10
    LTEXT           "CPU :",IDC_STATIC,15,76,34,10
    LTEXT           "Waitstates :",IDC_STATIC,15,116,40,10
    LTEXT           "Video speed :",IDC_STATIC,15,136,40,10    
    LTEXT           "Soundcard :",IDC_STATIC,15,156,40,10
    LTEXT           "Memory :",IDC_STATIC,15,176,40,10
    LTEXT           "HDD :",IDC_STATIC,15,196,40,10    
    COMBOBOX        IDC_COMBOHDD, 62,196,157,120,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Drive A: :",IDC_STATIC,15,216,40,10
    LTEXT           "Drive B: :",IDC_STATIC,15,236,40,10
    COMBOBOX        IDC_COMBODRA,62,216,157,120,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_COMBODRB,62,236,157,120,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP

#ifdef USE_NETWORKING
    LTEXT           "Network card:",IDC_STATIC,15,256,45,10
    COMBOBOX        IDC_COMBONETCARD,62,256,157,120,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      "Configure", IDC_CONFIGURENETCARD, 224, 256, 40, 14, WS_TABSTOP

    LTEXT           "Mouse :",IDC_STATIC,15,276,40,10
    COMBOBOX        IDC_COMBOMOUSE,62,276,157,120,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Joystick :",IDC_STATIC,15,296,40,10
    COMBOBOX        IDC_COMBOJOY,62,296,157,120,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    DEFPUSHBUTTON   "Joystick 1...",IDC_JOY1,16,312,50,14, WS_TABSTOP
    PUSHBUTTON      "Joystick 2...",IDC_JOY2,80,312,50,14, WS_TABSTOP
    DEFPUSHBUTTON   "Joystick 3...",IDC_JOY3,144,312,50,14, WS_TABSTOP
    PUSHBUTTON      "Joystick 4...",IDC_JOY4,208,312,50,14, WS_TABSTOP

    CONTROL         "CMS / Game Blaster",IDC_CHECK3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,332,118,10
    CONTROL         "Gravis Ultrasound",IDC_CHECKGUS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,348,118,10    
    CONTROL         "Innovation SSI-2001",IDC_CHECKSSI,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,364,118,10
    CONTROL         "Synchronise time to host clock",IDC_CHECKSYNC,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,380,118,10
    CONTROL         "Voodoo Graphics",IDC_CHECKVOODOO,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,396,118,10
    PUSHBUTTON      "Configure", IDC_CONFIGUREVOODOO, 224, 396, 40, 14, WS_TABSTOP
#else
    LTEXT           "Mouse :",IDC_STATIC,15,256,40,10
    COMBOBOX        IDC_COMBOMOUSE,62,256,157,120,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Joystick :",IDC_STATIC,15,276,40,10
    COMBOBOX        IDC_COMBOJOY,62,276,157,120,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    DEFPUSHBUTTON   "Joystick 1...",IDC_JOY1,16,292,50,14, WS_TABSTOP
    PUSHBUTTON      "Joystick 2...",IDC_JOY2,80,292,50,14, WS_TABSTOP
    DEFPUSHBUTTON   "Joystick 3...",IDC_JOY3,144,292,50,14, WS_TABSTOP
    PUSHBUTTON      "Joystick 4...",IDC_JOY4,208,292,50,14, WS_TABSTOP

    CONTROL         "CMS / Game Blaster",IDC_CHECK3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,312,118,10
    CONTROL         "Gravis Ultrasound",IDC_CHECKGUS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,328,118,10    
    CONTROL         "Innovation SSI-2001",IDC_CHECKSSI,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,344,118,10
    CONTROL         "Synchronise time to host clock",IDC_CHECKSYNC,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,360,118,10
    CONTROL         "Voodoo Graphics",IDC_CHECKVOODOO,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,376,118,10
    PUSHBUTTON      "Configure", IDC_CONFIGUREVOODOO, 224, 376, 40, 14, WS_TABSTOP
#endif
END

HdConfDlg DIALOGEX 0, 0, 210, 312+4*16
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Configure Hard Discs"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,31+12,292+64,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,101+12,292+64,50,14
    
    LTEXT           "C:",IDC_STATIC,7,6,27,10
    RADIOBUTTON     "Hard drive", IDC_CHDD,   7, 22, 53, 12 , WS_TABSTOP
    RADIOBUTTON     "CD-ROM",     IDC_CCDROM, 7+64, 22, 53, 12 , WS_TABSTOP
    EDITTEXT        IDC_EDIT_C_FN, 7, 22+16, 136, 12, WS_DISABLED
    PUSHBUTTON      "...",IDC_CFILE,7 + 136,      22+16, 16, 14
    PUSHBUTTON      "New",IDC_CNEW,7 + 136 + 16, 22+16, 24, 14
    PUSHBUTTON      "Eject", IDC_EJECTC, 7 + 136 + 16 + 24, 22+16, 24, 14
        
    EDITTEXT        IDC_EDIT_C_SPT,36,38+16,16,12, WS_DISABLED
    EDITTEXT        IDC_EDIT_C_HPC,94,38+16,16,12, WS_DISABLED
    EDITTEXT        IDC_EDIT_C_CYL,152,38+16,28,12, WS_DISABLED
    LTEXT           "Sectors:",IDC_STATIC,7,38+16,27,10
    LTEXT           "Heads:",IDC_STATIC,63,38+16,29,8
    LTEXT           "Cylinders:",IDC_STATIC,120,38+16,32,12
    LTEXT           "", IDC_TEXT_C_SIZE, 7, 54+16, 136, 12
    
    LTEXT           "D:",IDC_STATIC,7,76+16,27,10
    RADIOBUTTON     "Hard drive", IDC_DHDD,   7, 92+16, 53, 12 , WS_TABSTOP
    RADIOBUTTON     "CD-ROM",     IDC_DCDROM, 7+64, 92+16, 53, 12 , WS_TABSTOP
    EDITTEXT        IDC_EDIT_D_FN, 7, 92+32, 136, 12, WS_DISABLED
    PUSHBUTTON      "...",IDC_DFILE,7 + 136,     92+32, 16, 14
    PUSHBUTTON      "New",IDC_DNEW,7 + 136 + 16, 92+32, 24, 14
    PUSHBUTTON      "Eject", IDC_EJECTD, 7 + 136 + 16 + 24, 92+32, 24, 14
    
    EDITTEXT        IDC_EDIT_D_SPT,36,108+32,16,12, WS_DISABLED
    EDITTEXT        IDC_EDIT_D_HPC,94,108+32,16,12, WS_DISABLED
    EDITTEXT        IDC_EDIT_D_CYL,152,108+32,28,12, WS_DISABLED
    LTEXT           "Sectors:",IDC_STATIC,7,108+32,27,10
    LTEXT           "Heads:",IDC_STATIC,63,108+32,29,8
    LTEXT           "Cylinders:",IDC_STATIC,120,108+32,32,12
    LTEXT           "", IDC_TEXT_D_SIZE, 7, 124+32, 136, 12    

    LTEXT           "E:",IDC_STATIC,7,146+32,27,10
    RADIOBUTTON     "Hard drive", IDC_EHDD,   7, 162+32, 53, 12 , WS_TABSTOP
    RADIOBUTTON     "CD-ROM",     IDC_ECDROM, 7+64, 162+32, 53, 12 , WS_TABSTOP
    EDITTEXT        IDC_EDIT_E_FN, 7, 162+48, 136, 12, WS_DISABLED
    PUSHBUTTON      "...",IDC_EFILE,7 + 136,     162+48, 16, 14
    PUSHBUTTON      "New",IDC_ENEW,7 + 136 + 16, 162+48, 24, 14
    PUSHBUTTON      "Eject", IDC_EJECTE, 7 + 136 + 16 + 24, 162+48, 24, 14
    
    EDITTEXT        IDC_EDIT_E_SPT,36,178+48,16,12, WS_DISABLED
    EDITTEXT        IDC_EDIT_E_HPC,94,178+48,16,12, WS_DISABLED
    EDITTEXT        IDC_EDIT_E_CYL,152,178+48,28,12, WS_DISABLED
    LTEXT           "Sectors:",IDC_STATIC,7,178+48,27,10
    LTEXT           "Heads:",IDC_STATIC,63,178+48,29,8
    LTEXT           "Cylinders:",IDC_STATIC,120,178+48,32,12
    LTEXT           "", IDC_TEXT_E_SIZE, 7, 194+48, 136, 12    

    LTEXT           "F:",IDC_STATIC,7,216+48,27,10
    RADIOBUTTON     "Hard drive", IDC_FHDD,   7, 232+48, 53, 12 , WS_TABSTOP
    RADIOBUTTON     "CD-ROM",     IDC_FCDROM, 7+64, 232+48, 53, 12 , WS_TABSTOP
    EDITTEXT        IDC_EDIT_F_FN, 7, 232+64, 136, 12, WS_DISABLED
    PUSHBUTTON      "...",IDC_FFILE,7 + 136,     232+64, 16, 14
    PUSHBUTTON      "New",IDC_FNEW,7 + 136 + 16, 232+64, 24, 14
    PUSHBUTTON      "Eject", IDC_EJECTF, 7 + 136 + 16 + 24, 232+64, 24, 14
    
    EDITTEXT        IDC_EDIT_F_SPT,36,248+64,16,12, WS_DISABLED
    EDITTEXT        IDC_EDIT_F_HPC,94,248+64,16,12, WS_DISABLED
    EDITTEXT        IDC_EDIT_F_CYL,152,248+64,28,12, WS_DISABLED
    LTEXT           "Sectors:",IDC_STATIC,7,248+64,27,10
    LTEXT           "Heads:",IDC_STATIC,63,248+64,29,8
    LTEXT           "Cylinders:",IDC_STATIC,120,248+64,32,12
    LTEXT           "", IDC_TEXT_F_SIZE, 7, 264+64, 136, 12    
    
END

HdNewDlg DIALOGEX 0, 0, 186, 86
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "New Hard Disc"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,31,66,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,101,66,50,14
    
    EDITTEXT        IDC_EDITC, 7, 6, 136, 12
    PUSHBUTTON      "...",IDC_CFILE,7 + 136,      6, 16, 14
    
    EDITTEXT        IDC_EDIT1,36,22,16,12
    EDITTEXT        IDC_EDIT2,94,22,16,12
    EDITTEXT        IDC_EDIT3,152,22,28,12
    LTEXT           "Sectors:",IDC_STATIC,7,22,27,10
    LTEXT           "Heads:",IDC_STATIC,63,22,29,8
    LTEXT           "Cylinders:",IDC_STATIC,120,22,32,12
    LTEXT           "", IDC_TEXT1, 7, 38, 136, 12
END

HdSizeDlg DIALOGEX 0, 0, 186, 86
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Hard disc parameters"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,31,66,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,101,66,50,14
    
    LTEXT           "Initial settings are based on file size",IDC_STATIC,7,6,170,10
    
    EDITTEXT        IDC_EDIT1,36,22,16,12
    EDITTEXT        IDC_EDIT2,94,22,16,12
    EDITTEXT        IDC_EDIT3,152,22,28,12
    LTEXT           "Sectors:",IDC_STATIC,7,22,27,10
    LTEXT           "Heads:",IDC_STATIC,63,22,29,8
    LTEXT           "Cylinders:",IDC_STATIC,120,22,32,12
    LTEXT           "", IDC_TEXT1, 7, 38, 136, 12
END

StatusDlg DIALOGEX 0,0,186,186+20+180
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Status"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "1",IDC_STEXT_DEVICE,16,16,180,1000
    LTEXT           "1",IDC_STEXT1,16,186,180,1000
END

HdConfDlgMfm DIALOGEX 0, 0, 210, 172
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Configure Hard Discs"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,31+12,152,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,101+12,152,50,14
    
    LTEXT           "C:",IDC_STATIC,7,6,27,10
    EDITTEXT        IDC_EDIT_C_FN, 7, 22, 136, 12, WS_DISABLED
    PUSHBUTTON      "...",IDC_CFILE,7 + 136,      22, 16, 14
    PUSHBUTTON      "New",IDC_CNEW,7 + 136 + 16, 22, 24, 14
    PUSHBUTTON      "Eject", IDC_EJECTC, 7 + 136 + 16 + 24, 22, 24, 14
        
    EDITTEXT        IDC_EDIT_C_SPT,36,38,16,12, WS_DISABLED
    EDITTEXT        IDC_EDIT_C_HPC,94,38,16,12, WS_DISABLED
    EDITTEXT        IDC_EDIT_C_CYL,152,38,28,12, WS_DISABLED
    LTEXT           "Sectors:",IDC_STATIC,7,38,27,10
    LTEXT           "Heads:",IDC_STATIC,63,38,29,8
    LTEXT           "Cylinders:",IDC_STATIC,120,38,32,12
    LTEXT           "", IDC_TEXT_C_SIZE, 7, 54, 136, 12
    
    LTEXT           "D:",IDC_STATIC,7,76,27,10
    EDITTEXT        IDC_EDIT_D_FN, 7, 92, 136, 12, WS_DISABLED
    PUSHBUTTON      "...",IDC_DFILE,7 + 136,     92, 16, 14
    PUSHBUTTON      "New",IDC_DNEW,7 + 136 + 16, 92, 24, 14
    PUSHBUTTON      "Eject", IDC_EJECTD, 7 + 136 + 16 + 24, 92, 24, 14
    
    EDITTEXT        IDC_EDIT_D_SPT,36,108,16,12, WS_DISABLED
    EDITTEXT        IDC_EDIT_D_HPC,94,108,16,12, WS_DISABLED
    EDITTEXT        IDC_EDIT_D_CYL,152,108,28,12, WS_DISABLED
    LTEXT           "Sectors:",IDC_STATIC,7,108,27,10
    LTEXT           "Heads:",IDC_STATIC,63,108,29,8
    LTEXT           "Cylinders:",IDC_STATIC,120,108,32,12
    LTEXT           "", IDC_TEXT_D_SIZE, 7, 124, 136, 12    
END

HdNewDlgMfm DIALOGEX 0, 0, 186, 102
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "New Hard Disc"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,31,82,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,101,82,50,14
    
    EDITTEXT        IDC_EDITC, 7, 6, 136, 12
    PUSHBUTTON      "...",IDC_CFILE,7 + 136,      6, 16, 14
    
    EDITTEXT        IDC_EDIT1,36,22,16,12
    EDITTEXT        IDC_EDIT2,94,22,16,12
    EDITTEXT        IDC_EDIT3,152,22,28,12
    LTEXT           "Sectors:",IDC_STATIC,7,22,27,10
    LTEXT           "Heads:",IDC_STATIC,63,22,29,8
    LTEXT           "Cylinders:",IDC_STATIC,120,22,32,12
    LTEXT           "", IDC_TEXT1, 7, 38, 136, 12

    COMBOBOX        IDC_HDTYPE, 7,54,172,120,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP

END

HdSizeDlgMfm DIALOGEX 0, 0, 186, 102
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Hard disc parameters"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,31,82,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,101,82,50,14
    
    LTEXT           "Initial settings are based on file size",IDC_STATIC,7,6,170,10
    
    EDITTEXT        IDC_EDIT1,36,22,16,12
    EDITTEXT        IDC_EDIT2,94,22,16,12
    EDITTEXT        IDC_EDIT3,152,22,28,12
    LTEXT           "Sectors:",IDC_STATIC,7,22,27,10
    LTEXT           "Heads:",IDC_STATIC,63,22,29,8
    LTEXT           "Cylinders:",IDC_STATIC,120,22,32,12
    LTEXT           "", IDC_TEXT1, 7, 38, 136, 12

    COMBOBOX        IDC_HDTYPE, 7,54,172,120,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP

END

ConfigureSelectionDlg DIALOGEX 0, 0, 200, 150
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CENTER
CAPTION "PCem Configuration Manager"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "Load",   IDOK,     200-54, 4, 50, 14, WS_TABSTOP
    DEFPUSHBUTTON   "Quit",   IDCANCEL, 200-54,132,50, 14, WS_TABSTOP
    DEFPUSHBUTTON   "New...", IDC_NEW,  200-54,40, 50, 14, WS_TABSTOP
    DEFPUSHBUTTON   "Configuration...", IDC_CONFIG,  200-54,58, 50, 14, WS_TABSTOP
    DEFPUSHBUTTON   "HDD...", IDC_HDCONF,  200-54,76, 50, 14, WS_TABSTOP
#ifdef USE_NETWORKING
    DEFPUSHBUTTON   "Network...",IDC_NETWORK, 200-54,104,50, 14, WS_TABSTOP
#endif
    LISTBOX                   IDC_LIST, 4,      4,140,142, WS_TABSTOP|WS_VSCROLL
END

NetworkConfDlg DIALOGEX 0, 0, 400, 80
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Configure Network"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,64,56,50,14, WS_TABSTOP
    PUSHBUTTON      "Cancel",IDCANCEL,128,56,50,14, WS_TABSTOP

    COMBOBOX        IDC_COMBONETTYPE,62,16,157,120,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_COMBONETDEVICE,62,36,327,120,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP

    LTEXT           "Type :",IDC_STATIC,15,16,40,10
    LTEXT           "Device :",IDC_STATIC,15,36,34,10
END
