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

// (DO NOT EDIT: machine generated header) 'AHMTLookupEdit.pas' rev: 4.00

#ifndef AHMTLookupEditHPP
#define AHMTLookupEditHPP

#pragma delphiheader begin
#pragma option push -w-
#include <StdCtrls.hpp>	// Pascal unit
#include <Buttons.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <AHMStdClass.hpp>	// Pascal unit
#include <Menus.hpp>	// Pascal unit
#include <Mask.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Ahmtlookupedit
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMCustomLookupEdit;
class DELPHICLASS TAHMButtonClass;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TAHMButtonClass : public Classes::TPersistent 
{
	typedef Classes::TPersistent inherited;
	
private:
	Buttons::TSpeedButton* FButton;
	Classes::TShortCut FShortCutKey;
	void __fastcall SetCaption(AnsiString value);
	void __fastcall SetVisible(bool value);
	void __fastcall SetEnabled(bool value);
	void __fastcall SetHint(AnsiString value);
	void __fastcall SetShowHint(bool value);
	void __fastcall SetNumGlyphs(int value);
	void __fastcall SetGlyph(Graphics::TBitmap* value);
	void __fastcall SetShortCutKey(Classes::TShortCut value);
	AnsiString __fastcall GetCaption();
	bool __fastcall GetVisible(void);
	bool __fastcall GetEnabled(void);
	AnsiString __fastcall GetHint();
	bool __fastcall GetShowHint(void);
	int __fastcall GetNumGlyphs(void);
	Graphics::TBitmap* __fastcall GetGlyph(void);
	
public:
	__fastcall TAHMButtonClass(Classes::TComponent* AOwner);
	
__published:
	__property AnsiString Caption = {read=GetCaption, write=SetCaption, stored=true};
	__property bool Visible = {read=GetVisible, write=SetVisible, stored=true, nodefault};
	__property bool Enabled = {read=GetEnabled, write=SetEnabled, stored=true, nodefault};
	__property AnsiString Hint = {read=GetHint, write=SetHint, stored=true};
	__property bool ShowHint = {read=GetShowHint, write=SetShowHint, stored=true, nodefault};
	__property int NumGlyphs = {read=GetNumGlyphs, write=SetNumGlyphs, stored=true, nodefault};
	__property Graphics::TBitmap* Glyph = {read=GetGlyph, write=SetGlyph, stored=true};
	__property Classes::TShortCut ShortCutKey = {read=FShortCutKey, write=SetShortCutKey, stored=true, 
		nodefault};
public:
	#pragma option push -w-inl
	/* TPersistent.Destroy */ inline __fastcall virtual ~TAHMButtonClass(void) { }
	#pragma option pop
	
};

#pragma pack(pop)

#pragma pack(push, 4)
class PASCALIMPLEMENTATION TAHMCustomLookupEdit : public Mask::TCustomMaskEdit 
{
	typedef Mask::TCustomMaskEdit inherited;
	
private:
	Buttons::TSpeedButton* FEditButton2;
	Buttons::TSpeedButton* FEditButton1;
	TAHMButtonClass* FEditBClass2;
	TAHMButtonClass* FEditBClass1;
	Ahmstdclass::TAHMAboutSControlStr FAboutStr;
	Classes::TNotifyEvent FOnButton2Click;
	Classes::TNotifyEvent FOnButton1Click;
	Classes::TAlignment FAlignment;
	int __fastcall GetMinHeight(void);
	void __fastcall EditButton2Click(System::TObject* Sender);
	void __fastcall EditButton1Click(System::TObject* Sender);
	HIDESBASE MESSAGE void __fastcall WMSize(Messages::TWMSize &Message);
	HIDESBASE MESSAGE void __fastcall CMEnabledChanged(Messages::TMessage &Message);
	HIDESBASE MESSAGE void __fastcall CMEnter(Messages::TMessage &Message);
	void __fastcall SetAlignment(Classes::TAlignment Value);
	void __fastcall SetEditBClass2(TAHMButtonClass* value);
	void __fastcall SetEditBClass1(TAHMButtonClass* value);
	
protected:
	virtual void __fastcall CreateWnd(void);
	void __fastcall SetButtons(void);
	
public:
	void __fastcall SetEditRect(void);
	virtual void __fastcall CreateParams(Controls::TCreateParams &Params);
	__fastcall virtual TAHMCustomLookupEdit(Classes::TComponent* AOwner);
	__fastcall virtual ~TAHMCustomLookupEdit(void);
	virtual void __fastcall Loaded(void);
	DYNAMIC void __fastcall KeyDown(Word &Key, Classes::TShiftState Shift);
	DYNAMIC void __fastcall KeyPress(char &Key);
	__property TAHMButtonClass* EditButton2 = {read=FEditBClass2, write=SetEditBClass2, stored=true};
	__property TAHMButtonClass* EditButton1 = {read=FEditBClass1, write=SetEditBClass1, stored=true};
	__property Classes::TAlignment Alignment = {read=FAlignment, write=SetAlignment, default=0};
	__property Classes::TNotifyEvent OnButton2Click = {read=FOnButton2Click, write=FOnButton2Click};
	__property Classes::TNotifyEvent OnButton1Click = {read=FOnButton1Click, write=FOnButton1Click};
	
__published:
	__property Ahmstdclass::TAHMAboutSControlStr About = {read=FAboutStr, write=FAboutStr};
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TAHMCustomLookupEdit(HWND ParentWindow) : Mask::TCustomMaskEdit(
		ParentWindow) { }
	#pragma option pop
	
};

#pragma pack(pop)

class DELPHICLASS TAHMLookupEdit;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TAHMLookupEdit : public TAHMCustomLookupEdit 
{
	typedef TAHMCustomLookupEdit inherited;
	
public:
	__fastcall virtual TAHMLookupEdit(Classes::TComponent* AOwner);
	
__published:
	__property Alignment ;
	__property EditButton1 ;
	__property OnButton1Click ;
	__property EditButton2 ;
	__property OnButton2Click ;
	__property EditMask ;
	__property MaxLength ;
	__property Text ;
	__property AutoSize ;
	__property CharCase ;
	__property PasswordChar ;
	__property ReadOnly ;
	__property Font ;
	__property Enabled ;
	__property OnChange ;
	__property OnEnter ;
	__property OnExit ;
	__property OnKeyDown ;
	__property OnKeyPress ;
	__property OnKeyUp ;
	__property OnClick ;
	__property OnDblClick ;
	__property OnDragDrop ;
	__property OnDragOver ;
	__property OnEndDrag ;
	__property OnMouseDown ;
	__property OnMouseMove ;
	__property OnMouseUp ;
	__property OnStartDrag ;
public:
	#pragma option push -w-inl
	/* TAHMCustomLookupEdit.Destroy */ inline __fastcall virtual ~TAHMLookupEdit(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TAHMLookupEdit(HWND ParentWindow) : TAHMCustomLookupEdit(
		ParentWindow) { }
	#pragma option pop
	
};

#pragma pack(pop)

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

}	/* namespace Ahmtlookupedit */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Ahmtlookupedit;
#endif
#pragma option pop	// -w-

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// AHMTLookupEdit
