/*

gbmdlg.rc - GBM Dialogs

File Dialog taken from 1.3 Toolkit.
Controls moved around and added for GBM's usage.

*/

#include "os2.h"
#include "gbmdlgrc.h"

/*...vgbmdlgrc\46\h:0:*/

DLGTEMPLATE RID_GBM_FILEDLG LOADONCALL MOVEABLE DISCARDABLE
BEGIN
    DIALOG "",
                RID_GBM_FILEDLG, 1, 1, 278, 232, FS_NOBYTEALIGN |
                FS_DLGBORDER | WS_CLIPSIBLINGS | WS_SAVEBITS,
                FCF_SYSMENU | FCF_TITLEBAR | FCF_DLGBORDER
    BEGIN
        CONTROL "Bitmap filename:", DID_FILENAME_TXT, 5, 218, 267, 8, WC_STATIC,
                SS_TEXT | DT_LEFT | DT_TOP | WS_VISIBLE | WS_GROUP
                PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
        CONTROL "", DID_FILENAME_ED, 6, 207, 267, 8, WC_ENTRYFIELD,
                ES_AUTOSCROLL | ES_LEFT | ES_MARGIN | WS_TABSTOP | WS_VISIBLE
                PRESPARAMS PP_FONTNAMESIZE, "8.Helv"

        CONTROL "Optional bitmap format specific options:", DID_GBM_OPTIONS_TXT, 5, 194, 267, 8, WC_STATIC,
                SS_TEXT | DT_LEFT | DT_TOP | WS_VISIBLE | WS_GROUP
                PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
        CONTROL "", DID_GBM_OPTIONS_ED, 6, 184, 267, 8, WC_ENTRYFIELD,
                ES_AUTOSCROLL | ES_LEFT | ES_MARGIN | WS_TABSTOP | WS_VISIBLE
                PRESPARAMS PP_FONTNAMESIZE, "8.Helv"

        CONTROL "Bitmap filetype filter:", DID_FILTER_TXT, 5, 171, 87, 8, WC_STATIC,
                SS_TEXT | DT_LEFT | DT_TOP | WS_VISIBLE | WS_GROUP
                PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
        CONTROL "", DID_FILTER_CB, 5, 80, 158, 90, WC_COMBOBOX,
                CBS_DROPDOWNLIST | WS_TABSTOP | WS_VISIBLE
                PRESPARAMS PP_FONTNAMESIZE, "8.Helv"

        CONTROL "Drive:", DID_DRIVE_TXT, 167, 171, 49, 8, WC_STATIC,
                SS_TEXT | DT_LEFT | DT_TOP | WS_VISIBLE | WS_GROUP
                PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
        CONTROL "", DID_DRIVE_CB, 167, 80, 107, 90, WC_COMBOBOX,
                CBS_DROPDOWNLIST | WS_TABSTOP | WS_VISIBLE
                PRESPARAMS PP_FONTNAMESIZE, "8.Helv"

        CONTROL "File:", DID_FILES_TXT, 5, 147, 31, 8, WC_STATIC,
                SS_TEXT | DT_LEFT | DT_TOP | WS_VISIBLE | WS_GROUP
                PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
        CONTROL "", DID_FILES_LB, 5, 23, 131, 126, WC_LISTBOX,
                LS_HORZSCROLL | WS_TABSTOP | WS_VISIBLE
                PRESPARAMS PP_FONTNAMESIZE, "8.Helv"

        CONTROL "Directory:", DID_DIRECTORY_TXT, 142, 147, 50, 8,
                WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | WS_VISIBLE | WS_GROUP
                PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
        CONTROL "", DID_DIRECTORY_LB, 141, 23, 132, 126, WC_LISTBOX,
                LS_OWNERDRAW | LS_HORZSCROLL | WS_TABSTOP | WS_VISIBLE
                PRESPARAMS PP_FONTNAMESIZE, "8.Helv"

        CONTROL "~OK", DID_OK_PB, 5, 4, 50, 14, WC_BUTTON, BS_DEFAULT |
                BS_PUSHBUTTON | WS_TABSTOP | WS_VISIBLE | WS_GROUP
                PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
        CONTROL "Cancel", DID_CANCEL_PB, 59, 4, 50, 14, WC_BUTTON,
                BS_PUSHBUTTON | WS_VISIBLE
                PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
        CONTROL "~Apply", DID_APPLY_PB, 113, 4, 50, 14, WC_BUTTON,
                BS_PUSHBUTTON | WS_VISIBLE
                PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
        CONTROL "Help", DID_HELP_PB, 225, 4, 50, 14, WC_BUTTON,
                BS_PUSHBUTTON | WS_VISIBLE | BS_HELP |
                BS_NOPOINTERFOCUS
                PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
    END
END
