home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 May
/
Pcwk5b98.iso
/
Borland
/
Cplus45
/
BC45
/
OWL1.PAK
/
BWINDOW.CPP
< prev
next >
Wrap
Text File
|
1995-08-29
|
796b
|
31 lines
// ObjectWindows - (C) Copyright 1992 by Borland International
/* --------------------------------------------------------
BWINDOW.CPP
Defines type TBWindow.
-------------------------------------------------------- */
#include "applicat.h"
#include "bwindow.h"
/* Constructor for a TBWindow object. */
TBWindow::TBWindow(PTWindowsObject AParent, LPSTR ATitle,
PTModule AModule)
: TWindow(AParent, ATitle, AModule)
{
}
void TBWindow::GetWindowClass(WNDCLASS& AWndClass)
{
TWindow::GetWindowClass(AWndClass);
AWndClass.hbrBackground = (HBRUSH)GetStockObject(LTGRAY_BRUSH);
}
PTStreamable TBWindow::build()
{
return new TBWindow(streamableInit);
}
TStreamableClass RegBWindow("TBWindow", TBWindow::build,
__DELTA(TBWindow));