//--------------------------------------------------------------------------- #ifndef SelectMaskH #define SelectMaskH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- class TSelectMaskDialog : public TForm { __published: TButton * OKBtn; TButton * CancelBtn; TGroupBox * MaskGroup; TLabel * Label3; THistoryComboBox * MaskEdit; TCheckBox * ApplyToDirectoriesCheck; TButton * HelpButton; TStaticText * HintText; TButton * ClearButton; TButton * MaskButton; void __fastcall FormCloseQuery(TObject * Sender, bool & CanClose); void __fastcall MaskEditExit(TObject * Sender); void __fastcall HelpButtonClick(TObject * Sender); void __fastcall ClearButtonClick(TObject * Sender); void __fastcall FormShow(TObject * Sender); void __fastcall MaskButtonClick(TObject * Sender); private: TControl * FParent; public: enum TMode { smSelect, smDeselect, smFilter }; __fastcall TSelectMaskDialog(TComponent* Owner); void __fastcall Init(TMode Mode, TControl * Parent); bool __fastcall Execute(TFileFilter & FileFilter); }; //--------------------------------------------------------------------------- #endif