home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / borland / cb / setup / cbuilder / data.z / DSGNWNDS.HPP < prev    next >
C/C++ Source or Header  |  1997-02-28  |  3KB  |  84 lines

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