home *** CD-ROM | disk | FTP | other *** search
/ Total C++ 2 / TOTALCTWO.iso / borland / mdidlg.pak / MDIDLG.H < prev    next >
C/C++ Source or Header  |  1997-05-06  |  1KB  |  54 lines

  1. // ---------------------------------------------------------------------------
  2. // ObjectWindows
  3. // Copyright (c) 1995, 1995 by Borland International, All Rights Reserved
  4. //
  5. // Filename:    MdiDlg.h
  6. //
  7. // Date:        27-Apr-95
  8. //
  9. // Description:
  10. // ---------------------------------------------------------------------------
  11. #if !defined(Mdi_Dialog)
  12. #define Mdi_Dialog
  13.  
  14. #if !defined(OWL_DIALOG_H)
  15. # include <owl/dialog.h>
  16. #endif
  17. #if !defined(OWL_EDIT_H)
  18. # include <owl/edit.h>
  19. #endif
  20. #if !defined(OWL_CHECKBOX_H)
  21. # include <owl/checkbox.h>
  22. #endif
  23.  
  24. #include "test.rh"
  25.  
  26. //
  27. // class TMdiDlgDialog
  28. // ~~~~~ ~~~~~~~~~~~~~~
  29. class TMdiDialog : public TDialog {
  30.   public:
  31.     TMdiDialog(TWindow* parent, TResId resId);
  32.    ~TMdiDialog();
  33.  
  34.     void SetupWindow();
  35.     void CleanupWindow();
  36.  
  37.   protected:
  38.     void CeNumber(TCommandEnabler& ce);
  39.     void CeHelp(TCommandEnabler& ce);
  40.  
  41.   private:
  42.     TEdit* Name;
  43.     TEdit* Phone;
  44.     TEdit* Number;
  45.     TCheckBox* EnableNumber;
  46.     TCheckBox* EnableHelp;
  47.  
  48.   DECLARE_RESPONSE_TABLE(TMdiDialog);
  49.   DECLARE_HELPCONTEXT(TMdiDialog);
  50. };
  51.  
  52. #endif
  53.  
  54.