home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windoware
/
WINDOWARE_1_6.iso
/
source
/
owlbwcc
/
bwcdelay.rc
< prev
next >
Wrap
Text File
|
1992-02-02
|
3KB
|
52 lines
/*****************************************************************/
/* BWCDELAY.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"
#include "BWCDELAY.H" // used for equates for check box buttons
MAINWINDOWDIALOG DIALOG 22, 10, 176, 169
CAPTION "Borland Check Boxes"
CLASS "BORDLG"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
BEGIN
CONTROL " Delayed On / Off", 103, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE | WS_GROUP, 12, 78, 102, 36
CONTROL "Radar Unit 12", IDB_RADAR12, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 18, 90, 90, 10
CONTROL "Confabulator 12", IDB_CONFABULATOR12, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 18, 102, 90, 10
CONTROL " Not Implemented", 103, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE | WS_GROUP, 12, 126, 102, 36
CONTROL "Radar Unit 13", 140, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 18, 138, 90, 10
CONTROL "Confabulator 13", 150, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 18, 150, 90, 10
CONTROL "", 102, "BorShade", 2 | WS_CHILD | WS_VISIBLE, 336, 210, 114, 1
CONTROL "", 101, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE, 6, 6, 162, 60
CTEXT "Delayed action from a check box toggle", -1, 12, 12, 150, 12, WS_CHILD | WS_VISIBLE | WS_GROUP
CTEXT "Is achieved by letting the default process", -1, 12, 24, 150, 12, WS_CHILD | WS_VISIBLE | WS_GROUP
CTEXT "Take care of toggling the box ON and OFF.", -1, 12, 36, 150, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
CTEXT "Checking the status and perfoming actions", -1, 12, 46, 150, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
CTEXT "is handled later in response to the OK button.", -1, 12, 56, 150, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
CONTROL "", 104, "BorShade", 2 | WS_CHILD | WS_VISIBLE, 0, 72, 174, 3
CONTROL "", 105, "BorShade", 2 | WS_CHILD | WS_VISIBLE, 1, 120, 126, 1
CONTROL "Button", IDCANCEL, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 138, 84, 32, 20
CONTROL "", 107, "BorShade", 3 | WS_CHILD | WS_VISIBLE, 126, 72, 2, 96
CONTROL "Button", IDOK, "BorBtn", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 138, 132, 32, 20
END