home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
DSGNWNDS.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
3KB
|
84 lines
//----------------------------------------------------------------------------
// DsgnWnds.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: DsgnWnds.pas
//----------------------------------------------------------------------------
#ifndef DsgnWndsHPP
#define DsgnWndsHPP
//----------------------------------------------------------------------------
#include <DsgnIntf.hpp>
#include <LibIntf.hpp>
#include <Forms.hpp>
#include <Controls.hpp>
#include <Classes.hpp>
#include <SysUtils.hpp>
#include <Messages.hpp>
#include <System.hpp>
#pragma warn -par
#pragma warn -hid
#pragma warn -inl
namespace Dsgnwnds
{
//-- type declarations -------------------------------------------------------
class __declspec(delphiclass) TDesignWindow;
class __declspec(pascalimplementation) TDesignWindow : public Forms::TForm
{
typedef Forms::TForm inherited;
private:
Dsgnintf::TComponentList* FSelection;
Classes::TComponent* FOwner;
Dsgnintf::TFormDesigner* FDesigner;
bool FActive;
Byte FReserved;
void __fastcall ComponentRead(Classes::TComponent* Component);
void __fastcall ReaderSetName(Classes::TReader* Reader, Classes::TComponent* Component, System::AnsiString &
Name);
HIDESBASE MESSAGE void __fastcall WMActivate(Messages::TWMActivate &Msg);
protected:
virtual void __fastcall Activated(void);
void __fastcall ActivateInspector(char Ch);
bool __fastcall ClipboardComponents(void);
void __fastcall CopyComponents(Classes::TComponent* Root, Dsgnintf::TComponentList* Components);
void __fastcall PasteComponents(Classes::TComponent* AOwner, Classes::TComponent* AParent, Dsgnintf::TComponentList*
Components);
void __fastcall SetSelection(Dsgnintf::TComponentList* Components);
virtual System::AnsiString __fastcall UniqueName(Classes::TComponent* Component) = 0;
public:
__fastcall virtual TDesignWindow(Classes::TComponent* AOwner);
__fastcall virtual ~TDesignWindow(void);
virtual void __fastcall ComponentDeleted(Classes::TComponent* Component);
virtual Libintf::TEditState __fastcall GetEditState(void);
virtual void __fastcall EditAction(Libintf::TEditAction Action);
virtual void __fastcall FormClosed(Forms::TForm* AForm);
virtual void __fastcall FormModified(void);
virtual void __fastcall SelectionChanged(Dsgnintf::TComponentList* ASelection);
__property bool Active = {read=FActive, nodefault};
__property Dsgnintf::TFormDesigner* Designer = {read=FDesigner, write=FDesigner, nodefault};
public:
/* TForm.CreateNew */ __fastcall TDesignWindow(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(
AOwner, Dummy) { }
public:
/* TWinControl.CreateParented */ __fastcall TDesignWindow(HWND ParentWindow) : Forms::TForm(ParentWindow
) { }
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Dsgnwnds */
#pragma warn .par
#pragma warn .hid
#pragma warn .inl
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Dsgnwnds;
#endif
//-- end unit ----------------------------------------------------------------
#endif // DsgnWnds