// Borland C++ Builder
// Copyright (c) 1995, 1998 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'AMNMovePanel.pas' rev: 3.00

#ifndef AMNMovePanelHPP
#define AMNMovePanelHPP
#include <IniFiles.hpp>
#include <Registry.hpp>
#include <Options.hpp>
#include <ExtCtrls.hpp>
#include <Dialogs.hpp>
#include <Forms.hpp>
#include <Controls.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <SysUtils.hpp>
#include <Messages.hpp>
#include <Windows.hpp>
#include <SysInit.hpp>
#include <System.hpp>

//-- user supplied -----------------------------------------------------------

namespace Amnmovepanel
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAMNMovePanel;
class PASCALIMPLEMENTATION TAMNMovePanel : public Extctrls::TPanel 
{
	typedef Extctrls::TPanel inherited;
	
private:
	bool fMov;
	Options::TOptions* fOptions;
	Classes::TNotifyEvent FOnSave;
	Classes::TNotifyEvent FOnRestore;
	void __fastcall _Save(void);
	void __fastcall _Restore(void);
	void __fastcall SaveToIni(void);
	void __fastcall RestoreFromIni(void);
	
protected:
	DYNAMIC void __fastcall MouseDown(Controls::TMouseButton Button, Classes::TShiftState Shift, int X, 
		int Y);
	DYNAMIC void __fastcall MouseMove(Classes::TShiftState Shift, int X, int Y);
	
public:
	__fastcall virtual TAMNMovePanel(Classes::TComponent* aOwner);
	__fastcall virtual ~TAMNMovePanel(void);
	void __fastcall Save(void);
	void __fastcall Restore(void);
	
__published:
	__property bool Moveable = {read=fMov, write=fMov, nodefault};
	__property Options::TOptions* Options = {read=fOptions, write=fOptions};
public:
	/* TWinControl.CreateParented */ __fastcall TAMNMovePanel(HWND ParentWindow) : Extctrls::TPanel(ParentWindow
		) { }
	
};

//-- var, const, procedure ---------------------------------------------------

}	/* namespace Amnmovepanel */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Amnmovepanel;
#endif
//-- end unit ----------------------------------------------------------------
#endif	// AMNMovePanel
