//---------------------------------------------------------------------------

#ifndef uConjoinHostH
#define uConjoinHostH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//---------------------------------------------------------------------------
class TConjoinDockHost : public TForm
{
__published:	// IDE-managed Components
	void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
	void __fastcall FormDockDrop(TObject *Sender, TDragDockObject *Source, int X,
          int Y);
	void __fastcall FormUnDock(TObject *Sender, TControl *Client,
          TWinControl *NewTarget, bool &Allow);
	void __fastcall FormDockOver(TObject *Sender, TDragDockObject *Source, int X,
          int Y, TDragState State, bool &Accept);
	void __fastcall FormGetSiteInfo(TObject *Sender, TControl *DockClient,
          TRect &InfluenceRect, TPoint &MousePos, bool &CanDock);
private:	// User declarations
	void __fastcall  DoFloat(TControl *AControl);
public:		// User declarations
	__fastcall TConjoinDockHost(TComponent* Owner);
	void __fastcall UpdateCaption(TControl *Exclude);
};
//---------------------------------------------------------------------------
extern PACKAGE TConjoinDockHost *ConjoinDockHost;
//---------------------------------------------------------------------------
#endif
