home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / OWLBWCC.PAK / BSTATIC.CPP < prev    next >
C/C++ Source or Header  |  1995-08-29  |  1KB  |  42 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows - (C) Copyright 1991, 1993 by Borland International
  3. //   Implementation of class TBStatic.  This defines the basic behavior of
  4. //   BWCC static controls
  5. //----------------------------------------------------------------------------
  6. #include <owl\owlpch.h>
  7. #include "bstatic.h"
  8. #include "bwcc.h"
  9.  
  10. IMPLEMENT_STREAMABLE_FROM_BASE(TBStatic, TStatic);
  11.  
  12. //
  13. // constructor for a TBStatic object
  14. //
  15. TBStatic::TBStatic(TWindow*        parent,
  16.                    int             id,
  17.                    const char far* title,
  18.                    int x, int y, int w, int h,
  19.                    UINT            textLen,
  20.                    TModule*        module)
  21.   : TStatic(parent, id, title, x, y, w, h, textLen, module)
  22. {
  23. }
  24.  
  25. //
  26. // constructor for a TBStatic to be associated with a MS-Windows
  27. // interface element created by MS-Windows from a resource definition.
  28. //
  29. TBStatic::TBStatic(TWindow* parent,
  30.                    int      resourceId,
  31.                    UINT     textLen,
  32.                    TModule* module)
  33.   : TStatic(parent, resourceId, textLen, module)
  34. {
  35. }
  36.  
  37. char far* 
  38. TBStatic::GetClassName()
  39. {
  40.   return STATIC_CLASS;
  41. }
  42.