home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / OWL1.PAK / BCHKBOX.CPP < prev    next >
Text File  |  1995-08-29  |  1KB  |  35 lines

  1. // ObjectWindows - (C) Copyright 1992 by Borland International
  2.  
  3. /* --------------------------------------------------------
  4.   BCHKBOX.CPP
  5.   Defines type TBCheckBox.
  6.   -------------------------------------------------------- */
  7.  
  8. #include "bchkbox.h"
  9. #include "groupbox.h"
  10.  
  11. /* Constructor for a TBCheckBox object.  */
  12.  
  13. TBCheckBox::TBCheckBox(PTWindowsObject AParent, int AnId, LPSTR ATitle,
  14.                      int X, int Y, int W, int H, PTGroupBox AGroup,
  15.              PTModule AModule)
  16.                : TCheckBox(AParent, AnId, ATitle, X, Y, W, H, AGroup,
  17.                AModule)
  18. {}
  19.  
  20. /* Constructor for a TBCheckBox to be associated with a MS-Windows
  21.   interface element created by MS-Windows from a resource definition. */
  22.  
  23. TBCheckBox::TBCheckBox(PTWindowsObject AParent, int ResourceId,
  24.              PTGroupBox AGroup, PTModule AModule)
  25.                  : TCheckBox(AParent, ResourceId, AGroup, AModule)
  26. {}
  27.  
  28. PTStreamable TBCheckBox::build()
  29. {
  30.   return new TBCheckBox(streamableInit);
  31. }
  32.  
  33. TStreamableClass RegBCheckBox("TBCheckBox", TBCheckBox::build,
  34.                    __DELTA(TBCheckBox));
  35.