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

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows
  3. // (C) Copyright 1992, 1994 by Borland International, All Rights Reserved
  4. //
  5. //   Definition of TDecoratedMDIFrame class
  6. //----------------------------------------------------------------------------
  7. #if !defined(OWL_DECMDIFR_H)
  8. #define OWL_DECMDIFR_H
  9.  
  10. #if !defined(OWL_MDI_H)
  11. # include <owl/mdi.h>
  12. #endif
  13. #if !defined(OWL_DECFRAME_H)
  14. # include <owl/decframe.h>
  15. #endif
  16.  
  17. //
  18. //  class TDecoratedMDIFrame
  19. //  ----- ------------------
  20. //
  21. //  MDI frame that supports decoration child windows
  22. //
  23. class _OWLCLASS TDecoratedMDIFrame : public TMDIFrame, public TDecoratedFrame {
  24.   public:
  25.     TDecoratedMDIFrame(const char far* title,
  26.                        TResId          menuResId,
  27.                        TMDIClient&     clientWnd = *new TMDIClient,
  28.                        bool            trackMenuSelection = false,
  29.                        TModule*        module = 0);
  30.  
  31.     LRESULT  DefWindowProc(uint message, WPARAM wParam, LPARAM lParam);
  32.  
  33.   private:
  34.     //
  35.     // hidden to prevent accidental copying or assignment
  36.     //
  37.     TDecoratedMDIFrame(const TDecoratedMDIFrame&);
  38.     TDecoratedMDIFrame& operator =(const TDecoratedMDIFrame&);
  39.  
  40.   DECLARE_RESPONSE_TABLE(TDecoratedMDIFrame);
  41.   DECLARE_STREAMABLE(_OWLCLASS, TDecoratedMDIFrame, 1);
  42. };
  43.  
  44. #endif  // OWL_DECMDIFR_H
  45.