home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 9 / CDACTUAL9.iso / progs / CB / DATA.Z / DSGNWNDS.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1996-11-06  |  3.1 KB  |  96 lines

  1. //----------------------------------------------------------------------------
  2. // DsgnWnds.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
  3. // From: DsgnWnds.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef DsgnWndsHPP
  6. #define DsgnWndsHPP
  7. //----------------------------------------------------------------------------
  8. #ifndef DsgnIntfHPP
  9. #include <DsgnIntf.hpp>
  10. #endif
  11.  
  12. #ifndef LibIntfHPP
  13. #include <LibIntf.hpp>
  14. #endif
  15.  
  16. #ifndef FormsHPP
  17. #include <Forms.hpp>
  18. #endif
  19.  
  20. #ifndef ControlsHPP
  21. #include <Controls.hpp>
  22. #endif
  23.  
  24. #ifndef ClassesHPP
  25. #include <Classes.hpp>
  26. #endif
  27.  
  28. #ifndef SysUtilsHPP
  29. #include <SysUtils.hpp>
  30. #endif
  31.  
  32. #ifndef MessagesHPP
  33. #include <Messages.hpp>
  34. #endif
  35.  
  36. #ifndef SystemHPP
  37. #include <System.hpp>
  38. #endif
  39.  
  40. namespace Dsgnwnds
  41. {
  42. //-- type declarations -------------------------------------------------------
  43. class __declspec(delphiclass) TDesignWindow;
  44. class __declspec(pascalimplementation) TDesignWindow : public Forms::TForm
  45. {
  46.     typedef TDesignWindow ThisClass;
  47.     typedef Forms::TForm inherited;
  48.     
  49. private:
  50.     Dsgnintf::TComponentList *FSelection;
  51.     Classes::TComponent *FOwner;
  52.     Dsgnintf::TFormDesigner *FDesigner;
  53.     System::Boolean FActive;
  54.     System::Byte FReserved;
  55.     void __fastcall ComponentRead(Classes::TComponent *Component);
  56.     void __fastcall ReaderSetName(Classes::TReader *Reader, Classes::TComponent *Component,  System::AnsiString &
  57.         Name);
  58.     MESSAGE void __fastcall WMActivate(Messages::TWMActivate &Msg);
  59.     
  60. protected:
  61.     virtual void __fastcall Activated(void);
  62.     void __fastcall ActivateInspector(System::Char Ch);
  63.     System::Boolean __fastcall ClipboardComponents(void);
  64.     void __fastcall CopyComponents(Classes::TComponent *Root, Dsgnintf::TComponentList *Components);
  65.     void __fastcall PasteComponents(Classes::TComponent *AOwner, Classes::TComponent *AParent, Dsgnintf::TComponentList *
  66.         Components);
  67.     void __fastcall SetSelection(Dsgnintf::TComponentList *Components);
  68.     virtual System::AnsiString __fastcall UniqueName(Classes::TComponent *Component) = 0;
  69.     
  70. public:
  71.     __fastcall virtual TDesignWindow(Classes::TComponent *AOwner);
  72.     __fastcall virtual ~TDesignWindow(void);
  73.     virtual void __fastcall ComponentDeleted(Classes::TComponent *Component);
  74.     virtual Libintf::TEditState __fastcall GetEditState(void);
  75.     virtual void __fastcall EditAction(Libintf::TEditAction Action);
  76.     virtual void __fastcall FormClosed(Forms::TForm *AForm);
  77.     virtual void __fastcall FormModified(void);
  78.     virtual void __fastcall SelectionChanged(Dsgnintf::TComponentList *ASelection);
  79.     __property System::Boolean Active = {read=FActive, nodefault};
  80.     __property Dsgnintf::TFormDesigner * Designer = {read=FDesigner, write=FDesigner, nodefault};
  81. public:
  82.         
  83.     /* !! TForm.CreateNew */ __fastcall TDesignWindow(Classes::TComponent *AOwner, System::Integer Dummy
  84.         ) : Forms::TForm(AOwner, Dummy) { }
  85.     
  86. };
  87.  
  88. //-- var, const, procedure ---------------------------------------------------
  89.  
  90. }    /* namespace Dsgnwnds */
  91. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  92. using namespace Dsgnwnds;
  93. #endif
  94. //-- end unit ----------------------------------------------------------------
  95. #endif    // DsgnWnds
  96.