home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windoware
/
WINDOWARE_1_6.iso
/
source
/
owlbwcc
/
bdefrang.rc
< prev
next >
Wrap
Text File
|
1992-02-02
|
2KB
|
31 lines
/*****************************************************************/
/* BDEFRANG.RC defines a simple Borland Windows Custom Control */
/* Dialog Box that can be used as the main window. */
/* Notice the CLASS "BORDLG" to activate the metalic background */
/* Also notice the special "Borshade" Control. */
/*****************************************************************/
#include "windows.h"
#include "bwcc.h"
MAINWINDOWDIALOG DIALOG 21, 19, 150, 121
CAPTION "If Then Else Default Processing"
CLASS "BORDLG"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
BEGIN
CONTROL "", 102, "BorShade", 2 | WS_CHILD | WS_VISIBLE, 1, 67, 150, 1
CONTROL "", 101, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE, 6, 7, 138, 54
CTEXT "To DefChildProc allows ranges", -1, 12, 24, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
CTEXT "Of Button messages to be handled", -1, 12, 36, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
CTEXT "In a similar manner ", -1, 12, 49, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
CONTROL "Button", 1, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 74, 32, 20
CONTROL "Button", 5, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 96, 32, 20
CONTROL "Button", 2, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 42, 74, 32, 20
CONTROL "Button", 6, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 42, 96, 32, 20
CONTROL "Button", 3, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 76, 74, 32, 20
CONTROL "Button", 7, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 76, 96, 32, 20
CONTROL "Button", 4, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 110, 74, 32, 20
CONTROL "Button", 8, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 110, 96, 32, 20
CTEXT "Adding If Then Else Statements", -1, 14, 14, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
END