//*****************************************************************************
//*                                                                           *
//*                                GBase.                                   *
//*                                                                           *
//*                            PROPRIETARY DATA                               *   
//*                                                                           *
//*  Licensed Material - Property Of GBase                                      *
//*                                                                           *
//*  "Restricted Materials of GBase"                                            *
//*                                                                           *
//*  GBase Client SDK                                                  *
//*                                                                           *
//*  Copyright GBASE  2007. All rights reserved.                     *
//*                                                                           *
//*****************************************************************************
//****************************************************************************
//
//	File	:	wdemo.rc
// 
//****************************************************************************

#include "windows.h"
#include "wdemo.h"

WDEMO    ICON  WDEMO.ICO

WDEMOMenu MENU
BEGIN

   POPUP "&Customer"
   BEGIN
      MENUITEM "&Open Database",             IDM_OPEN
      MENUITEM SEPARATOR
      MENUITEM "E&xit\tAlt+F4",  IDM_EXIT
   END

   POPUP "&Help"
   BEGIN
      MENUITEM "&About WDemo", IDM_ABOUT
   END
END

ABOUTBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 73, 44, 150, 95
CAPTION "About WDemo"
STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME | WS_POPUP
BEGIN
    ICON "WDEMO", ABOUT_ICO, 62, 9, 16, 16, WS_CHILD
    CTEXT "WDemo for GBASEDBT-ESQL/C for Win64" -1, 10, 28, 130, 16, WS_CHILD
    CTEXT "WDemo uses wdll.dll to Select, Update, Insert && Delete Customer records from Stores7 Database.", -1, 10, 47, 130, 25, WS_CHILD
    DEFPUSHBUTTON "&Ok", IDOK, 53, 76, 35, 14, WS_GROUP | WS_TABSTOP | WS_CHILD
END

CUSTOMERINFO DIALOG 48, 15, 212, 174
STYLE WS_POPUP | WS_CAPTION
CAPTION "Database Stores7 - Customer Information"
BEGIN
    LTEXT           "Customer &Number", -1, 5, 11, 60, 10
    EDITTEXT        CUST_NUMBER, 67, 11, 66, 12, ES_AUTOHSCROLL, WS_GROUP
    LTEXT           "&First Name", -1, 5, 26, 60, 10
    EDITTEXT        CUST_FNAME, 4, 37, 78, 12, ES_AUTOHSCROLL
    LTEXT           "&Last Name", -1, 112, 26, 60, 10
    EDITTEXT        CUST_LNAME, 111, 37, 78, 12, ES_AUTOHSCROLL
    LTEXT           "Com&pany", -1, 4, 55, 35, 10
    EDITTEXT        CUST_COMPANY, 42, 53, 84, 12, ES_AUTOHSCROLL
    LTEXT           "Add&ress", -1, 4, 73, 29, 10
    EDITTEXT        CUST_ADDR1, 42, 71, 84, 12, ES_AUTOHSCROLL
    EDITTEXT        CUST_ADDR2, 42, 87, 84, 12, ES_AUTOHSCROLL
    LTEXT           "Cit&y", -1, 5, 104, 16, 10
    EDITTEXT        CUST_CITY, 5, 115, 70, 12, ES_AUTOHSCROLL
    LTEXT           "S&tate", -1, 77, 104, 20, 10
    EDITTEXT        CUST_STATE, 78, 115, 15, 12, ES_AUTOHSCROLL
    LTEXT           "&Zip", -1, 96, 104, 12, 10
    EDITTEXT        CUST_ZIP, 97, 115, 27, 12, ES_AUTOHSCROLL
    LTEXT           "P&hone", -1, 127, 104, 24, 10
    EDITTEXT        CUST_PHONE, 127, 115, 82, 12, ES_AUTOHSCROLL
    PUSHBUTTON      "&Clear", CUST_CLEAR, 12, 137, 28, 14, WS_GROUP
    PUSHBUTTON      "&Select", CUST_SELECT, 12, 154, 28, 14
    PUSHBUTTON      "&Insert", CUST_INSERT, 52, 154, 28, 14
    PUSHBUTTON      "&Update", CUST_UPDATE, 92, 154, 28, 14
    PUSHBUTTON      "&Delete", CUST_DELETE, 132, 154, 28, 14
    DEFPUSHBUTTON   "E&xit", CUST_EXIT, 171, 154, 28, 14
    PUSHBUTTON      "&Ok", CUST_OK, 52, 136, 28, 14, WS_GROUP
    DEFPUSHBUTTON   "&Cancel", CUST_CANCEL, 92, 136, 28, 14
END

