home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 May
/
Pcwk5b98.iso
/
Borland
/
Cplus45
/
BC45
/
OWL1.PAK
/
BBUTTON.CPP
< prev
next >
Wrap
Text File
|
1995-08-29
|
1KB
|
34 lines
// ObjectWindows - (C) Copyright 1992 by Borland International
/* --------------------------------------------------------
BBUTTON.CPP
Defines type TBButton. This defines custom control push button
-------------------------------------------------------- */
#include "bbutton.h"
#include "bwcc.h"
/* Constructor for a TBButton object. Initializes its data fields using
supplied parameters and default values. */
TBButton::TBButton(PTWindowsObject AParent, int AnId, LPSTR AText, int X,
int Y, int W, int H, BOOL IsDefault, PTModule AModule)
: TButton(AParent, AnId, AText, X, Y, W, H, IsDefault,
AModule)
{
}
/* Constructor for a TBButton to be associated with a MS-Windows
interface element created by MS-Windows from a resource definition.
Initializes its data fields using supplied parameters. */
TBButton::TBButton(PTWindowsObject AParent, int ResourceId, PTModule AModule)
: TButton(AParent, ResourceId, AModule)
{
}
PTStreamable TBButton::build()
{
return new TBButton(streamableInit);
}
TStreamableClass RegBButton("TBButton", TBButton::build, __DELTA(TBButton));