home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windoware
/
WINDOWARE_1_6.iso
/
source
/
wedl203
/
demobwcc.rc
< prev
next >
Wrap
Text File
|
1992-07-30
|
11KB
|
166 lines
/*---------------------------------------------------------------------------*/
/* */
/* WEDL(tm) - Windows Enhanced Dialog Library */
/* Copyright (c) 1991-1992, Nemisoft, Inc. */
/* All Rights Reserved */
/* Module: DEMOBWCC.RC */
/* */
/*---------------------------------------------------------------------------*/
#include <windows.h>
#include <bwcc.h>
#include "demo.h"
WEDL ICON demo.ico
WEDL BITMAP demo.bmp
/*---------------------------------------------------------------------------*/
MainMenu MENU
BEGIN
POPUP "&Demo"
BEGIN
MENUITEM "&Employee Information...", IDM_EMPLOYEE
MENUITEM "Album &Database...", IDM_ALBUM
MENUITEM "&Upload File...", IDM_UPLOAD
MENUITEM "&Numeric Fields...", IDM_NUMERIC
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_EXIT
MENUITEM SEPARATOR
MENUITEM "&About...", IDM_ABOUT
END
END
/*---------------------------------------------------------------------------*/
EmployeeInfo DIALOG 0, 0, 289, 174
CAPTION "Employee Information"
CLASS "BorDlg"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
CONTROL "Soc Sec &No:", -1, "STATIC", SS_LEFT | WS_GROUP, 7, 16, 40, 8
CONTROL "", IDD_SSN, "EDIT", ES_LEFT | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP, 62, 14, 56, 12
CONTROL "", IDD_INSERT, "static", SS_CENTER | WS_CHILD, 205, 16, 37, 8
CONTROL "Name, &First:", -1, "static", SS_LEFT, 7, 43, 44, 8
CONTROL "", IDD_FNAME, "edit", ES_LEFT | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP | WS_CHILD, 62, 41, 54, 12
CONTROL "&Middle:", -1, "static", SS_LEFT | WS_CHILD, 121, 43, 27, 8
CONTROL "", IDD_MIDINIT, "edit", ES_LEFT | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP | WS_CHILD, 153, 41, 22, 12
CONTROL "&Last:", -1, "static", SS_LEFT, 184, 43, 18, 8
CONTROL "", IDD_LNAME, "edit", ES_LEFT | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP | WS_CHILD, 204, 41, 80, 12
CONTROL "&Address:", -1, "static", SS_LEFT | WS_CHILD, 7, 66, 32, 8
CONTROL "", IDD_ADDRESS, "edit", ES_LEFT | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP | WS_CHILD, 62, 64, 97, 12
CONTROL "C&ity:", -1, "static", SS_LEFT | WS_CHILD, 7, 88, 22, 8
CONTROL "", IDD_CITY, "edit", ES_LEFT | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP | WS_CHILD, 62, 86, 56, 12
CONTROL "&State:", -1, "static", SS_LEFT | WS_CHILD, 131, 88, 22, 8
CONTROL "", IDD_STATE, "edit", ES_LEFT | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP | WS_CHILD, 153, 86, 28, 12
CONTROL "&Zip Code:", -1, "static", SS_LEFT | WS_CHILD, 193, 88, 31, 8
CONTROL "", IDD_ZIP, "edit", ES_LEFT | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP | WS_CHILD, 228, 86, 51, 12
CONTROL "&Phone Number:", -1, "STATIC", SS_LEFT | WS_GROUP, 7, 112, 51, 8
CONTROL "", IDD_PHONE, "EDIT", ES_LEFT | WS_BORDER | WS_TABSTOP, 62, 110, 68, 12
CONTROL "Hire &Date:", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 160, 112, 34, 8
CONTROL "", IDD_HIREDATE, "edit", ES_LEFT | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP | WS_CHILD, 215, 110, 45, 12
CONTROL "&Wage/Salary:", -1, "STATIC", SS_LEFTNOWORDWRAP | WS_CHILD | WS_VISIBLE | WS_GROUP, 7, 139, 46, 8
CONTROL "", IDD_WAGE, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 62, 137, 51, 12
CONTROL "&OK", IDOK, "BorBtn", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 144, 140, 32, 21
CONTROL "&Cancel", IDCANCEL, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 194, 140, 32, 21
CONTROL "&Help", IDHELP, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 244, 140, 32, 21
CONTROL "", -1, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE | WS_GROUP, 5, 159, 59, 11
CONTROL "Press F1 for Help", -1, "STATIC", SS_LEFTNOWORDWRAP | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 160, 56, 8
END
/*---------------------------------------------------------------------------*/
AlbumDatabase DIALOG 0, 0, 243, 155
CAPTION "Album Database"
CLASS "BorDlg"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
CONTROL "Record Number:", -1, "STATIC", SS_LEFT | WS_GROUP, 11, 12, 54, 8
CONTROL "", IDD_RECNO, "EDIT", ES_LEFT | WS_BORDER, 71, 11, 36, 12
CONTROL "", -1, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE, 151, 10, 84, 15
CONTROL "", -1, "BorShade", BSS_VDIP | WS_CHILD | WS_VISIBLE, 177, 10, 1, 15
CONTROL "", -1, "BorShade", BSS_VDIP | WS_CHILD | WS_VISIBLE, 207, 10, 1, 15
CONTROL "", IDD_CAPSLOCK, "STATIC", SS_LEFT | WS_GROUP, 155, 13, 20, 8
CONTROL "", IDD_NUMLOCK, "STATIC", SS_LEFT | WS_GROUP, 183, 13, 20, 8
CONTROL "", IDD_INSERT, "STATIC", SS_LEFT | WS_GROUP, 212, 13, 18, 8
CONTROL "&Artist:", -1, "STATIC", SS_LEFT | WS_GROUP, 11, 37, 20, 8
CONTROL "", IDD_ARTIST, "EDIT", ES_LEFT | WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 51, 34, 92, 12
CONTROL "&Title:", -1, "STATIC", SS_LEFT | WS_GROUP, 11, 57, 18, 8
CONTROL "", IDD_TITLE, "EDIT", ES_LEFT | WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 51, 55, 110, 12
CONTROL "&Label", -1, "STATIC", SS_LEFT | WS_GROUP, 11, 78, 23, 8
CONTROL "", IDD_LABEL, "EDIT", ES_LEFT | WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 51, 76, 69, 12
CONTROL "Copy&right:", -1, "STATIC", SS_LEFT | WS_GROUP, 139, 78, 35, 8
CONTROL "", IDD_COPYRIGHT, "EDIT", ES_LEFT | WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 179, 76, 41, 12
CONTROL "&Media:", -1, "STATIC", SS_LEFT | WS_GROUP, 11, 99, 25, 8
CONTROL "", IDD_MEDIA, "COMBOBOX", CBS_DROPDOWN | CBS_HASSTRINGS | WS_VSCROLL | WS_TABSTOP | CBS_AUTOHSCROLL, 51, 97, 71, 36
CONTROL "&Prev", IDD_PREVIOUS, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_GROUP | WS_VISIBLE | WS_TABSTOP, 27, 122, 33, 21
CONTROL "&Next", IDD_NEXT, "BUTTON", BS_PUSHBUTTON | WS_TABSTOP, 81, 122, 33, 21
CONTROL "&OK", IDOK, "BorBtn", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 142, 122, 33, 21
CONTROL "&Cancel", IDCANCEL, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 192, 122, 33, 21
END
/*---------------------------------------------------------------------------*/
UploadFile DIALOG 0, 0, 175, 176
CAPTION "Upload File"
CLASS "BorDlg"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
CONTROL "&Upload File", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 10, 8, 41, 8
CONTROL "&File Name:", -1, "STATIC", SS_LEFT | WS_GROUP, 21, 22, 36, 8
CONTROL "", IDD_FILENAME, "EDIT", ES_LEFT | WS_BORDER | ES_AUTOHSCROLL | WS_TABSTOP, 63, 20, 72, 12
CONTROL "", IDD_PATHSPEC, "STATIC", SS_LEFT | WS_GROUP, 23, 40, 114, 8
CONTROL "", IDD_FILEBOX, "LISTBOX", WS_TABSTOP | LBS_STANDARD, 21, 61, 59, 40
CONTROL "", IDD_DIRBOX, "LISTBOX", WS_TABSTOP | LBS_STANDARD, 98, 61, 59, 40
CONTROL "", -1, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE, 7, 6, 161, 108
CONTROL "&Protocol:", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 12, 119, 29, 8
CONTROL "&Xmodem", IDD_XMODEM, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 14, 129, 40, 10
CONTROL "&Ymodem", IDD_YMODEM, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 14, 140, 40, 10
CONTROL "&Zmodem", IDD_ZMODEM, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 14, 151, 40, 10
CONTROL "", -1, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE, 10, 118, 55, 51
CONTROL "&Hang Up After Upload", IDD_HANGUP, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 82, 119, 87, 10
CONTROL "&OK", IDOK, "BorBtn", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 88, 144, 35, 23
CONTROL "&Cancel", IDCANCEL, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 132, 144, 35, 23
END
/*---------------------------------------------------------------------------*/
NumericFields DIALOG 9, 19, 261, 140
CAPTION "Numeric Fields"
CLASS "BorDlg"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
CONTROL "Signed long integer:", -1, "STATIC", SS_LEFTNOWORDWRAP | WS_CHILD | WS_VISIBLE | WS_GROUP, 13, 14, 66, 9
CONTROL "", IDD_STD, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 13, 25, 58, 12
CONTROL "Unsigned real with fixed decimal:", -1, "STATIC", SS_LEFTNOWORDWRAP | WS_CHILD | WS_VISIBLE | WS_GROUP, 101, 14, 109, 8
CONTROL "", IDD_STDDEC, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 101, 25, 58, 12
CONTROL "Unsigned long integer w/zero fill:", -1, "STATIC", SS_LEFTNOWORDWRAP | WS_CHILD | WS_VISIBLE | WS_GROUP, 13, 45, 108, 8
CONTROL "", IDD_ZEROFILL, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 13, 56, 58, 12
CONTROL "Calculator-style unsigned integer:", -1, "STATIC", SS_LEFTNOWORDWRAP | WS_CHILD | WS_VISIBLE | WS_GROUP, 136, 45, 110, 8
CONTROL "", IDD_CALC, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 136, 56, 58, 12
CONTROL "Calculator-style signed real with fixed decimal:", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 13, 75, 153, 8
CONTROL "", IDD_CALCDEC, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 13, 85, 58, 12
CONTROL "Signed real with floating decimal:", -1, "STATIC", SS_LEFTNOWORDWRAP | WS_CHILD | WS_VISIBLE | WS_GROUP, 13, 105, 109, 8
CONTROL "", IDD_REAL, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 13, 116, 60, 12
CONTROL "&OK", IDOK, "BorBtn", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 149, 104, 34, 22
CONTROL "&Cancel", IDCANCEL, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 207, 104, 34, 22
END
/*---------------------------------------------------------------------------*/
AboutWEDL DIALOG 11, 28, 153, 101
CAPTION "About WEDL"
CLASS "BorDlg"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
CONTROL "WEDL", -1, "STATIC", SS_ICON, 18, 11, 16, 16
CONTROL "WEDL Version 2.03", -1, "STATIC", SS_LEFTNOWORDWRAP | WS_GROUP, 40, 11, 67, 8
CONTROL "Copyright (c) 1991-1992, Nemisoft, Inc.", -1, "STATIC", SS_CENTER | WS_GROUP, 13, 40, 132, 8
CONTROL "Demonstration Program", -1, "STATIC", SS_LEFTNOWORDWRAP | WS_GROUP, 42, 21, 79, 8
CONTROL "All Rights Reserved", -1, "STATIC", SS_CENTER | WS_GROUP, 43, 52, 72, 8
CONTROL "&OK", IDOK, "BorBtn", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 63, 69, 33, 21
END