home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'AHMTFileCtrls.pas' rev: 3.00
-
- #ifndef AHMTFileCtrlsHPP
- #define AHMTFileCtrlsHPP
- #include <Menus.hpp>
- #include <AHMSControls.hpp>
- #include <FileCtrl.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <Controls.hpp>
- #include <Graphics.hpp>
- #include <Classes.hpp>
- #include <SysUtils.hpp>
- #include <Messages.hpp>
- #include <Windows.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Ahmtfilectrls
- {
- //-- type declarations -------------------------------------------------------
- class DELPHICLASS TAHMFileCombo;
- class PASCALIMPLEMENTATION TAHMFileCombo : public Stdctrls::TCustomComboBox
- {
- typedef Stdctrls::TCustomComboBox inherited;
-
- private:
- Ahmscontrols::TAHMAboutSControlStr FAboutStr;
- System::AnsiString FDirectory;
- System::AnsiString FMask;
- Filectrl::TFileType FFileType;
- Stdctrls::TCustomEdit* FFileEdit;
- Filectrl::TFilterComboBox* FFilterCombo;
- Classes::TNotifyEvent FOnChange;
- int FLastSel;
- char __fastcall GetDrive(void);
- System::AnsiString __fastcall GetFileName(void);
- bool __fastcall IsMaskStored(void);
- void __fastcall SetDrive(char Value);
- void __fastcall SetFileEdit(Stdctrls::TCustomEdit* Value);
- void __fastcall SetDirectory(const System::AnsiString NewDirectory);
- void __fastcall SetFileType(Filectrl::TFileType NewFileType);
- void __fastcall SetMask(const System::AnsiString NewMask);
- void __fastcall SetFileName(const System::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 System::AnsiString __fastcall GetFilePath(void);
-
- 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, Stdctrls::TOwnerDrawState State
- );
- virtual void __fastcall SetFilePath(const System::AnsiString EditText);
- __property char Drive = {read=GetDrive, write=SetDrive, nodefault};
- __property System::AnsiString FileName = {read=GetFilePath, write=SetFilePath};
-
- __published:
- __property Align ;
- __property Ahmscontrols::TAHMAboutSControlStr About = {read=FAboutStr, write=FAboutStr};
- __property Color ;
- __property Ctl3D ;
- __property DragCursor ;
- __property DragMode ;
- __property Enabled ;
- __property System::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 System::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:
- /* TWinControl.CreateParented */ __fastcall TAHMFileCombo(HWND ParentWindow) : Stdctrls::TCustomComboBox(
- ParentWindow) { }
-
- };
-
- class DELPHICLASS TAHMFolderListbox;
- class PASCALIMPLEMENTATION TAHMFolderListbox : public Filectrl::TDirectoryListBox
- {
- typedef Filectrl::TDirectoryListBox inherited;
-
- private:
- Ahmscontrols::TAHMAboutSControlStr FAboutStr;
-
- protected:
- virtual void __fastcall ReadBitmaps(void);
-
- __published:
- __property Ahmscontrols::TAHMAboutSControlStr About = {read=FAboutStr, write=FAboutStr};
- public:
- /* TDirectoryListBox.Create */ __fastcall virtual TAHMFolderListbox(Classes::TComponent* AOwner) :
- Filectrl::TDirectoryListBox(AOwner) { }
- /* TDirectoryListBox.Destroy */ __fastcall virtual ~TAHMFolderListbox(void) { }
-
- public:
- /* TWinControl.CreateParented */ __fastcall TAHMFolderListbox(HWND ParentWindow) : Filectrl::TDirectoryListBox(
- ParentWindow) { }
-
- };
-
- class DELPHICLASS TAHMDriveCombo;
- class PASCALIMPLEMENTATION TAHMDriveCombo : public Filectrl::TDriveComboBox
- {
- typedef Filectrl::TDriveComboBox inherited;
-
- private:
- Ahmscontrols::TAHMAboutSControlStr FAboutStr;
-
- public:
- __fastcall virtual TAHMDriveCombo(Classes::TComponent* AOwner);
-
- __published:
- __property Ahmscontrols::TAHMAboutSControlStr About = {read=FAboutStr, write=FAboutStr};
- public:
- /* TDriveComboBox.Destroy */ __fastcall virtual ~TAHMDriveCombo(void) { }
-
- public:
- /* TWinControl.CreateParented */ __fastcall TAHMDriveCombo(HWND ParentWindow) : Filectrl::TDriveComboBox(
- ParentWindow) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Ahmtfilectrls */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Ahmtfilectrls;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // AHMTFileCtrls
-