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

  1. //------------------------------------------------------------------------
  2. // ObjectWindows - (C) Copyright 1993 by Borland International
  3. //------------------------------------------------------------------------
  4. #ifndef __LAYOUT_H
  5. #define __LAYOUT_H
  6.  
  7. #ifndef __OWL_DECMDIFR_H
  8.   #include <owl\decmdifr.h>
  9. #endif
  10.  
  11. #ifndef __OWL_COLOR_H
  12.   #include <owl\color.h>
  13. #endif
  14.  
  15. #ifndef __LAYOUTRC_H
  16.   #include "layout.rh"
  17. #endif
  18. #ifndef __LAYDIA_H
  19.   #include "laydia.h"
  20. #endif
  21.  
  22. class TMyChildWindow : public TWindow {
  23.   public:
  24.     TMyChildWindow(TWindow* parent, int id, char far* title,
  25.                    TColor color);
  26. };
  27.  
  28. const int MaxChildren = 5;
  29.  
  30. class TMyLayout : public TLayoutWindow {
  31.   public:
  32.     TMyLayout(TWindow* parent);
  33.  
  34.   protected:
  35.     void SetupWindow();
  36.  
  37.   private:
  38.     void CmLayout();
  39.     void CmReLayout();
  40.  
  41.   private:
  42.     TChildInfo  ChildInfo[MaxChildren+1];
  43.  
  44.     TLayoutDialog *LayoutDialog;
  45.  
  46.   DECLARE_RESPONSE_TABLE(TMyLayout);
  47. };
  48.  
  49. #endif
  50.