//--------------------------------------------------------------------------- #ifndef VSTPathFormUnitH #define VSTPathFormUnitH //--------------------------------------------------------------------------- #include #include #include #include #include "GeneralDialogPanel.h" #include #include "LineEdit.h" #include "TextButton.h" #include "CKBox.h" //--------------------------------------------------------------------------- class TVSTPathForm : public TForm { __published: // IDE-managed Components TGeneralDialogPanel *m_BKGPanel; TTextButton *m_BtnCancel; TTextButton *m_BtnSure; TTextButton *m_btnVSTPath; TTextButton *m_btnVSTiPath; TLineEdit *m_editVST; TLineEdit *m_editVSTi; TLabel *m_lbVST; TLabel *m_lbVSTi; TLabel *m_lblMessage; TCKBox *m_ckHide; void __fastcall FormCreate(TObject *Sender); void __fastcall VSTPathClick(TObject *Sender); void __fastcall SureClick(TObject *Sender); private: // User declarations bool CrnBrowseDir(HWND hOwner, LPTSTR lpTitle, LPTSTR lpSelectDir);//Îļþ¼Ð·¾¶Ñ¡Ôñ public: // User declarations TCHAR m_lpSelectVSTDir[MAX_PATH]; TCHAR m_lpSelectVSTiDir[MAX_PATH]; bool IsChecked() { return m_ckHide->Checked; }; __fastcall TVSTPathForm(TComponent* Owner, bool bShowCheck); }; //--------------------------------------------------------------------------- extern PACKAGE TVSTPathForm *VSTPathForm; //--------------------------------------------------------------------------- #endif