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

  1. //----------------------------------------------------------------------------
  2. //  Project ApxMdi
  3. //  Borland International
  4. //  Copyright ⌐ 1996. All Rights Reserved.
  5. //
  6. //  SUBSYSTEM:    ApxMdi Application
  7. //  FILE:         apxmmdic.h
  8. //  AUTHOR:       
  9. //
  10. //  OVERVIEW
  11. //  ~~~~~~~~
  12. //  Class definition for TApxMdiMDIClient (TMDIClient).
  13. //
  14. //----------------------------------------------------------------------------
  15. #if !defined(apxmmdic_h)              // Sentry, use file only if it's not already included.
  16. #define apxmmdic_h
  17.  
  18. #include "apxmdapp.rh"            // Definition of all resources.
  19.  
  20.  
  21. //{{TMDIClient = TApxMdiMDIClient}}
  22. class TApxMdiMDIClient : public TMDIClient {
  23.   public:
  24.     int      ChildCount;                 // Number of child window created.
  25.  
  26.     TApxMdiMDIClient(TModule* module = 0);
  27.     virtual ~TApxMdiMDIClient();
  28.  
  29.     void OpenFile(const char* fileName = 0);
  30.  
  31. //{{TApxMdiMDIClientVIRTUAL_BEGIN}}
  32.   protected:
  33.     virtual void SetupWindow();
  34. //{{TApxMdiMDIClientVIRTUAL_END}}
  35.  
  36. //{{TApxMdiMDIClientRSP_TBL_BEGIN}}
  37.   protected:
  38.     void CmFileNew();
  39.     void CmFileOpen();
  40.     void CmFileClose();
  41.     void CmFilePrint();
  42.     void CmFilePrintSetup();
  43.     void CmFilePrintPreview();
  44.     void CmPrintEnable(TCommandEnabler& tce);
  45.     void EvDropFiles(TDropInfo);
  46. //{{TApxMdiMDIClientRSP_TBL_END}}
  47. DECLARE_RESPONSE_TABLE(TApxMdiMDIClient);
  48. };    //{{TApxMdiMDIClient}}
  49.  
  50.  
  51. #endif  // apxmmdic_h sentry.
  52.