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

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

#ifndef AMNEditHPP
#define AMNEditHPP
#include <StdCtrls.hpp>
#include <Dialogs.hpp>
#include <Forms.hpp>
#include <Controls.hpp>
#include <Graphics.hpp>
#include <Options.hpp>
#include <Classes.hpp>
#include <SysUtils.hpp>
#include <Messages.hpp>
#include <Windows.hpp>
#include <SysInit.hpp>
#include <System.hpp>

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

namespace Amnedit
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAMNEdit;
class PASCALIMPLEMENTATION TAMNEdit : public Stdctrls::TEdit 
{
	typedef Stdctrls::TEdit inherited;
	
private:
	bool CursorIn;
	Graphics::TColor fHColor;
	System::AnsiString __fastcall GetVersion(void);
	void __fastcall SetVersion(const System::AnsiString Val);
	void __fastcall PaintEdit(const HRGN Clip);
	void __fastcall EditHeightChange(void);
	HIDESBASE MESSAGE void __fastcall CMEnabledChanged(Messages::TMessage &Message);
	HIDESBASE MESSAGE void __fastcall CMFontChanged(Messages::TMessage &Message);
	HIDESBASE MESSAGE void __fastcall CMMouseEnter(Messages::TMessage &Message);
	HIDESBASE MESSAGE void __fastcall CMMouseLeave(Messages::TMessage &Message);
	HIDESBASE MESSAGE void __fastcall WMSetFocus(Messages::TWMSetFocus &Message);
	HIDESBASE MESSAGE void __fastcall WMKillFocus(Messages::TWMKillFocus &Message);
	MESSAGE void __fastcall WMNCCalcSize(Messages::TWMNCCalcSize &Message);
	MESSAGE void __fastcall WMNCPaint(Messages::TMessage &Message);
	
public:
	__fastcall virtual TAMNEdit(Classes::TComponent* aOwner);
	
__published:
	__property Graphics::TColor HighlightColor = {read=fHColor, write=fHColor, nodefault};
	__property System::AnsiString Version = {read=GetVersion, write=SetVersion};
public:
	/* TWinControl.CreateParented */ __fastcall TAMNEdit(HWND ParentWindow) : Stdctrls::TEdit(ParentWindow
		) { }
	/* TWinControl.Destroy */ __fastcall virtual ~TAMNEdit(void) { }
	
};

//-- var, const, procedure ---------------------------------------------------
extern PACKAGE int I;

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