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

// (DO NOT EDIT: machine generated header) 'AHMTLookupMenu.pas' rev: 5.00

#ifndef AHMTLookupMenuHPP
#define AHMTLookupMenuHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <StdCtrls.hpp>	// Pascal unit
#include <AHMStandardConst.hpp>	// Pascal unit
#include <AHMStdClass.hpp>	// Pascal unit
#include <AHMTLookupEdit.hpp>	// Pascal unit
#include <Mask.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Classes.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 Ahmtlookupmenu
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMLookupMenu;
class PASCALIMPLEMENTATION TAHMLookupMenu : public Ahmtlookupedit::TAHMCustomLookupEdit 
{
	typedef Ahmtlookupedit::TAHMCustomLookupEdit inherited;
	
private:
	Classes::TStrings* FItems;
	int FItemIndex;
	Classes::TNotifyEvent FOnChange;
	AnsiString FNonSelected;
	bool FItemChecked;
	void __fastcall SetNonSelected(AnsiString Value);
	void __fastcall SetItems(Classes::TStrings* Items);
	void __fastcall SetItemIndex(int Value);
	HIDESBASE MESSAGE void __fastcall WMCommand(Messages::TMessage &Message);
	HIDESBASE MESSAGE void __fastcall WMChar(Messages::TWMKey &Message);
	
protected:
	void __fastcall OnLookupPress(System::TObject* Sender);
	
public:
	__fastcall virtual TAHMLookupMenu(Classes::TComponent* AOwner);
	__fastcall virtual ~TAHMLookupMenu(void);
	
__published:
	__property AnsiString NonSelected = {read=FNonSelected, write=SetNonSelected};
	__property Classes::TStrings* Items = {read=FItems, write=SetItems};
	__property bool ItemChecked = {read=FItemChecked, write=FItemChecked, nodefault};
	__property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
	__property int ItemIndex = {read=FItemIndex, write=SetItemIndex, nodefault};
	__property EditButton1 ;
	__property Enabled ;
	__property Alignment ;
	__property EditMask ;
	__property MaxLength ;
	__property Text ;
	__property AutoSize ;
	__property CharCase ;
	__property PasswordChar ;
	__property ReadOnly ;
	__property Font ;
	__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
	/* TWinControl.CreateParented */ inline __fastcall TAHMLookupMenu(HWND ParentWindow) : Ahmtlookupedit::TAHMCustomLookupEdit(
		ParentWindow) { }
	#pragma option pop
	
};


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

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

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