// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'ahmtfilectrls.pas' rev: 6.00

#ifndef ahmtfilectrlsHPP
#define ahmtfilectrlsHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Menus.hpp>	// Pascal unit
#include <ahmstdclass.hpp>	// Pascal unit
#include <FileCtrl.hpp>	// Pascal unit
#include <StdCtrls.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 Ahmtfilectrls
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMFileCombo;
class PASCALIMPLEMENTATION TAHMFileCombo : public Stdctrls::TCustomComboBox 
{
	typedef Stdctrls::TCustomComboBox inherited;
	
private:
	AnsiString FAboutStr;
	AnsiString FDirectory;
	AnsiString FMask;
	Filectrl::TFileType FFileType;
	Stdctrls::TCustomEdit* FFileEdit;
	Filectrl::TFilterComboBox* FFilterCombo;
	Classes::TNotifyEvent FOnChange;
	int FLastSel;
	char __fastcall GetDrive(void);
	AnsiString __fastcall GetFileName();
	bool __fastcall IsMaskStored(void);
	void __fastcall SetDrive(char Value);
	void __fastcall SetFileEdit(Stdctrls::TCustomEdit* Value);
	void __fastcall SetDirectory(const AnsiString NewDirectory);
	void __fastcall SetFileType(Filectrl::TFileType NewFileType);
	void __fastcall SetMask(const AnsiString NewMask);
	void __fastcall SetFileName(const AnsiString NewFile);
	
protected:
	virtual void __fastcall CreateWnd(void);
	DYNAMIC void __fastcall Click(void);
	DYNAMIC void __fastcall Change(void);
	virtual void __fastcall ReadFileNames(void);
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation);
	virtual AnsiString __fastcall GetFilePath();
	
public:
	__fastcall virtual TAHMFileCombo(Classes::TComponent* AOwner);
	virtual void __fastcall Loaded(void);
	__fastcall virtual ~TAHMFileCombo(void);
	virtual void __fastcall DrawItem(int Index, const Types::TRect &Rect, Windows::TOwnerDrawState State);
	virtual void __fastcall SetFilePath(const AnsiString EditText);
	__property char Drive = {read=GetDrive, write=SetDrive, nodefault};
	__property AnsiString FileName = {read=GetFilePath, write=SetFilePath};
	
__published:
	__property Align  = {default=0};
	__property Anchors  = {default=3};
	__property BiDiMode ;
	__property Constraints ;
	__property DragKind  = {default=0};
	__property ParentBiDiMode  = {default=1};
	__property AnsiString About = {read=FAboutStr, write=FAboutStr};
	__property Color  = {default=-2147483643};
	__property Ctl3D ;
	__property DragCursor  = {default=-12};
	__property DragMode  = {default=0};
	__property Enabled  = {default=1};
	__property AnsiString Directory = {read=FDirectory, write=SetFilePath};
	__property Stdctrls::TCustomEdit* FileEdit = {read=FFileEdit, write=SetFileEdit};
	__property Filectrl::TFileType FileType = {read=FFileType, write=SetFileType, default=64};
	__property Font ;
	__property ItemHeight ;
	__property AnsiString Mask = {read=FMask, write=SetMask, stored=IsMaskStored};
	__property ParentColor  = {default=0};
	__property ParentCtl3D  = {default=1};
	__property ParentFont  = {default=1};
	__property ParentShowHint  = {default=1};
	__property PopupMenu ;
	__property ShowHint ;
	__property TabOrder  = {default=-1};
	__property TabStop  = {default=1};
	__property Visible  = {default=1};
	__property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
	__property OnClick ;
	__property OnDblClick ;
	__property OnDragDrop ;
	__property OnDragOver ;
	__property OnEndDrag ;
	__property OnEnter ;
	__property OnExit ;
	__property OnKeyDown ;
	__property OnKeyPress ;
	__property OnKeyUp ;
	__property OnMouseDown ;
	__property OnMouseMove ;
	__property OnMouseUp ;
	__property OnStartDrag ;
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TAHMFileCombo(HWND ParentWindow) : Stdctrls::TCustomComboBox(ParentWindow) { }
	#pragma option pop
	
};


class DELPHICLASS TAHMFolderListbox;
class PASCALIMPLEMENTATION TAHMFolderListbox : public Filectrl::TDirectoryListBox 
{
	typedef Filectrl::TDirectoryListBox inherited;
	
private:
	AnsiString FAboutStr;
	
protected:
	virtual void __fastcall ReadBitmaps(void);
	
__published:
	__property AnsiString About = {read=FAboutStr, write=FAboutStr};
public:
	#pragma option push -w-inl
	/* TDirectoryListBox.Create */ inline __fastcall virtual TAHMFolderListbox(Classes::TComponent* AOwner) : Filectrl::TDirectoryListBox(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TDirectoryListBox.Destroy */ inline __fastcall virtual ~TAHMFolderListbox(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TAHMFolderListbox(HWND ParentWindow) : Filectrl::TDirectoryListBox(ParentWindow) { }
	#pragma option pop
	
};


class DELPHICLASS TAHMDriveCombo;
class PASCALIMPLEMENTATION TAHMDriveCombo : public Filectrl::TDriveComboBox 
{
	typedef Filectrl::TDriveComboBox inherited;
	
private:
	AnsiString FAboutStr;
	
public:
	__fastcall virtual TAHMDriveCombo(Classes::TComponent* AOwner);
	
__published:
	__property AnsiString About = {read=FAboutStr, write=FAboutStr};
public:
	#pragma option push -w-inl
	/* TDriveComboBox.Destroy */ inline __fastcall virtual ~TAHMDriveCombo(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TAHMDriveCombo(HWND ParentWindow) : Filectrl::TDriveComboBox(ParentWindow) { }
	#pragma option pop
	
};


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

}	/* namespace Ahmtfilectrls */
using namespace Ahmtfilectrls;
#pragma option pop	// -w-
#pragma option pop	// -Vx

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