home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c083 / 19.ddi / OWLINC.PAK / DECMDIFR.H < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-02  |  1.4 KB  |  44 lines

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