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

  1. //----------------------------------------------------------------------------
  2. //  Project ApxDlgDv
  3. //  Borland International
  4. //  Copyright ⌐ 1996. All Rights Reserved.
  5. //
  6. //  SUBSYSTEM:    ApxDlgDv Application
  7. //  FILE:         apxdlddc.h
  8. //  AUTHOR:       
  9. //
  10. //  OVERVIEW
  11. //  ~~~~~~~~
  12. //  Class definition for TApxDlgDvDlgClient (TDialog).
  13. //
  14. //----------------------------------------------------------------------------
  15. #if !defined(apxdlddc_h)              // Sentry, use file only if it's not already included.
  16. #define apxdlddc_h
  17.  
  18. #include <owl/docview.h>
  19.  
  20. #include "apxdlgda.rh"                  // Definition of all resources.
  21.  
  22.  
  23. //{{TDialog = TApxDlgDvDlgClient}}
  24. class TApxDlgDvDlgClient : public TDialog, public TView {
  25.   public:
  26. //  TApxDlgDvDlgClient(TWindow* parent, TResId resId = IDD_CLIENT, TModule* module = 0);  //{{DIALOG_ASSOCIATION}}
  27.  
  28.     TApxDlgDvDlgClient(TDocument& doc, TWindow* parent = 0);
  29.     virtual ~TApxDlgDvDlgClient();
  30.  
  31.     static const char far* StaticName() {return "Dialog View";}  // put in resource
  32.  
  33.     // Inherited virtuals from TView
  34.     //
  35.     const char far* GetViewName() {return StaticName();}
  36.     TWindow* GetWindow() {return(TWindow*)this;}
  37.     bool     SetDocTitle(const char far* docname, int index)
  38.              { return TWindow::SetDocTitle(docname, index); }
  39.   private:
  40.     // Event handlers
  41.     //
  42.     bool     VnIsWindow(HWND hWnd)
  43.              { return ((HWindow == hWnd) || IsChild(hWnd)); }
  44.  
  45. //{{TApxDlgDvDlgClientVIRTUAL_BEGIN}}
  46.   public:
  47.     virtual bool CanClose();
  48. //{{TApxDlgDvDlgClientVIRTUAL_END}}
  49.  
  50. //{{TApxDlgDvDlgClientRSP_TBL_BEGIN}}
  51.   protected:
  52. //{{TApxDlgDvDlgClientRSP_TBL_END}}
  53. DECLARE_RESPONSE_TABLE(TApxDlgDvDlgClient);
  54. };    //{{TApxDlgDvDlgClient}}
  55.  
  56.  
  57. #endif  // apxdlddc_h sentry.
  58.