home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 May
/
Pcwk5b98.iso
/
Borland
/
Cplus45
/
BC45
/
OWLBWCC.PAK
/
BGRPBOX.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-29
|
1KB
|
41 lines
//----------------------------------------------------------------------------
// ObjectWindows - (C) Copyright 1991, 1993 by Borland International
// Implementation of class TBGroupBox. This defines the basic behavior
// for all custom control group boxes.
//----------------------------------------------------------------------------
#include <owl\owlpch.h>
#include "bgrpbox.h"
#include "bwcc.h"
IMPLEMENT_STREAMABLE_FROM_BASE(TBGroupBox, TGroupBox);
//
// constructor for a TBGroupBox object
//
TBGroupBox::TBGroupBox(TWindow* parent,
int id,
const char far* text,
int x, int y, int w, int h,
TModule* module)
: TGroupBox(parent, id, text, x, y, w, h, module)
{
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
//
TBGroupBox::TBGroupBox(TWindow* parent,
int resourceId,
TModule* module)
: TGroupBox(parent, resourceId, module)
{
}
char far*
TBGroupBox::GetClassName()
{
return SHADE_CLASS;
}