/* DEMO.RSS */

#include <hwim.rh>
#include <hwim.rg>

RESOURCE WSERV_INFO demo_accs
    {
    menbar_id=0;
    first_com=0;
    accel={'x'};
    }

RESOURCE MENU delp_gap_chlist
    {
    items =
        {
        CHOICE_ITEM { str="No gap";},
        CHOICE_ITEM { str="Half a line";},
        CHOICE_ITEM { str="Complete line";}
        };
    }

RESOURCE DIALOG delp_dlg
    {
    title="Print list of days";
    flags=DLGBOX_NOTIFY_ENTER|DLGBOX_RBUF_FILLED;
    controls=
        {
        CONTROL
            {
            class=C_DTEDIT;
            prompt="Start date";
            info=DTEDIT { flags=IN_DTEDIT_DDMMYYYY;};
            },
        CONTROL
            {
    	    class=C_NCEDIT;
    	    prompt="Number of days to print";
    	    info=NCEDIT
    		{
    		low=10;
                current=20;
    		high=200;
    		};
    	    },
        CONTROL
            {
            class=C_CHLIST;
            prompt="Space between months";
            info=CHLIST { rid=delp_gap_chlist; };
            }
        };
    }

RESOURCE STRING delp_paper_narrow { str="Paper size too narrow"; }
