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

// (DO NOT EDIT: machine generated header) 'AHMTFileCtrls.pas' rev: 5.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:
	Ahmstdclass::TAHMAboutSControlStr 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 Windows::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 ;
	__property Ahmstdclass::TAHMAboutSControlStr About = {read=FAboutStr, write=FAboutStr};
	__property Color ;
	__property Ctl3D ;
	__property DragCursor ;
	__property DragMode ;
	__property Enabled ;
	__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 ;
	__property ParentCtl3D ;
	__property ParentFont ;
	__property ParentShowHint ;
	__property PopupMenu ;
	__property ShowHint ;
	__property TabOrder ;
	__property TabStop ;
	__property Visible ;
	__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:
	Ahmstdclass::TAHMAboutSControlStr FAboutStr;
	
protected:
	virtual void __fastcall ReadBitmaps(void);
	
__published:
	__property Ahmstdclass::TAHMAboutSControlStr 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:
	Ahmstdclass::TAHMAboutSControlStr FAboutStr;
	
public:
	__fastcall virtual TAHMDriveCombo(Classes::TComponent* AOwner);
	
__published:
	__property Ahmstdclass::TAHMAboutSControlStr 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 */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Ahmtfilectrls;
#endif
#pragma option pop	// -w-
#pragma option pop	// -Vx

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