home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 May
/
Pcwk5b98.iso
/
Borland
/
Cplus45
/
BC45
/
OWLBWCC.PAK
/
BBUTTON.CPP
next >
Wrap
C/C++ Source or Header
|
1995-08-29
|
1KB
|
42 lines
//----------------------------------------------------------------------------
// ObjectWindows - (C) Copyright 1991, 1993 by Borland International
// Implementation of class TBButton. This defines custom control push
// button
//----------------------------------------------------------------------------
#include <owl\owlpch.h>
#include "bbutton.h"
#include "bwcc.h"
IMPLEMENT_STREAMABLE_FROM_BASE(TBButton, TButton);
//
// constructor for a TBButton object. initializes its data fields using
// supplied parameters and default values
//
TBButton::TBButton(TWindow* parent,
int id,
const char far* text,
int x, int y, int w, int h,
BOOL isDefault,
TModule* module)
: TButton(parent, id, text, x, y, w, h, isDefault, module)
{
}
//
// constructor for a TBButton to be associated with a MS-Windows
// interface element created by MS-Windows from a resource definition
//
TBButton::TBButton(TWindow* parent,
int resourceId,
TModule* module)
: TButton(parent, resourceId, module)
{
}
char far*
TBButton::GetClassName()
{
return BUTTON_CLASS;
}