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

#ifndef uDockFormH
#define uDockFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//---------------------------------------------------------------------------
class TDockableForm : public TForm
{
__published:	// IDE-managed Components
	TMemo *Memo1;
	void __fastcall FormDockOver(TObject *Sender, TDragDockObject *Source, int X,
          int Y, TDragState State, bool &Accept);
	void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
	void __fastcall FormShow(TObject *Sender);
private:	// User declarations
	TAlign __fastcall ComputeDockingRect(TRect &DockRect, TPoint MousePos);
	void virtual __fastcall CMDockClient(TCMDockClient &Message);
	BEGIN_MESSAGE_MAP
	MESSAGE_HANDLER(CM_DOCKCLIENT, TCMDockClient, CMDockClient)
	// Add any number of additional message handlers here.
	END_MESSAGE_MAP(TForm)
public:		// User declarations
	__fastcall TDockableForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TDockableForm *DockableForm;
//---------------------------------------------------------------------------
#endif
