home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 May
/
Pcwk5b98.iso
/
Borland
/
Cplus45
/
BC45
/
OWL1.PAK
/
BGRPBOX.CPP
< prev
next >
Wrap
Text File
|
1995-08-29
|
1KB
|
38 lines
// ObjectWindows - (C) Copyright 1992 by Borland International
/* --------------------------------------------------------
BGRPBOX.CPP
Defines type TBGroupBox. This defines the basic behavior
for all custom control group boxes.
-------------------------------------------------------- */
#include "bgrpbox.h"
#include "bwcc.h"
/* Constructor for a TBGroupBox object. Initializes its data fields
using parameters passed and default values. */
TBGroupBox::TBGroupBox(PTWindowsObject AParent, int AnId, LPSTR AText,
int X, int Y, int W, int H, PTModule AModule)
: TGroupBox(AParent, AnId, AText, X, Y, W, H, AModule)
{
Attr.Style = (Attr.Style & ~BS_GROUPBOX) | BSS_GROUP;
}
/* Constructor for a TBGroupBox to be associated with a MS-Windows interface
element created by MS-Windows from a resource definition. Initializes
its data fields using passed parameters. */
TBGroupBox::TBGroupBox(PTWindowsObject AParent, int ResourceId,
PTModule AModule)
: TGroupBox(AParent, ResourceId, AModule)
{}
PTStreamable TBGroupBox::build()
{
return new TBGroupBox(streamableInit);
}
TStreamableClass RegBGroupBox("TBGroupBox", TBGroupBox::build,
__DELTA(TBGroupBox));