home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / SHELL.PAK / MDICLIEN.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-06  |  1.3 KB  |  49 lines

  1. //----------------------------------------------------------------------------
  2. //  Project Shell
  3. //  Borland International
  4. //  Copyright ⌐ 1995, 1996 Borland International. All Rights Reserved.
  5. //
  6. //  SUBSYSTEM:    shell.exe Application
  7. //  FILE:         mdiclien.h
  8. //  AUTHOR:       The OWL Team
  9. //
  10. //  OVERVIEW
  11. //  ~~~~~~~~
  12. //  Class definition for TShellMDIClient (TMDIClient).
  13. //
  14. //----------------------------------------------------------------------------
  15. #if !defined(mdiclien_h)              // Sentry, use file only if it's not already included.
  16. #define mdiclien_h
  17.  
  18. #include <owl/mdi.h>
  19. #include <owl/shellitm.h>
  20.  
  21. #include "shellapp.rh"            // Definition of all resources.
  22.  
  23.  
  24. //{{TMDIClient = TShellMDIClient}}
  25. class TShellMDIClient : public TMDIClient {
  26.   public:
  27.     int      ChildCount;                 // Number of child window created.
  28.  
  29.     TShellMDIClient(TModule* module = 0);
  30.     virtual ~TShellMDIClient();
  31.  
  32.     void MyFileNew(TShellItem* item = 0);
  33.  
  34.   private:
  35. //{{ShellMDIClientVIRTUAL_BEGIN}}
  36.   protected:
  37.     virtual void SetupWindow();
  38. //{{ShellMDIClientVIRTUAL_END}}
  39.  
  40. //{{ShellMDIClientRSP_TBL_BEGIN}}
  41.   protected:
  42.     void CmFileNew();
  43. //{{ShellMDIClientRSP_TBL_END}}
  44. DECLARE_RESPONSE_TABLE(TShellMDIClient);
  45. };    //{{TShellMDIClient}}
  46.  
  47.  
  48. #endif  // mdiclien_h sentry.
  49.