home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c083 / 21.ddi / OWLBWCC.PAK / BWINDOW.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-02  |  880 b   |  33 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows - (C) Copyright 1991, 1993 by Borland International
  3. //   Implementation of class TBWindow, a BWCC friendly derivation of TWindow
  4. //----------------------------------------------------------------------------
  5. #include <owl\owlpch.h>
  6. #include "bwindow.h"
  7. #include "bwcc.h"
  8.  
  9. IMPLEMENT_STREAMABLE_FROM_BASE(TBWindow, TWindow);
  10.  
  11. //
  12. // constructor for a TBWindow object
  13. //
  14. TBWindow::TBWindow(TWindow*        parent,
  15.                    const char far* title,
  16.                    TModule*        module)
  17.   : TWindow(parent, title, module)
  18. {
  19. }
  20.  
  21. char far*
  22. TBWindow::GetClassName()
  23. {
  24.   return "TBWindow";
  25. }
  26.  
  27. void
  28. TBWindow::GetWindowClass(WNDCLASS& wndClass)
  29. {
  30.   TWindow::GetWindowClass(wndClass);
  31.   wndClass.hbrBackground = (HBRUSH)GetStockObject(LTGRAY_BRUSH);
  32. }
  33.