Files
AC_Pro/VSTPathFormUnit.h
2026-06-13 00:05:19 +08:00

49 lines
1.5 KiB
C++

//---------------------------------------------------------------------------
#ifndef VSTPathFormUnitH
#define VSTPathFormUnitH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include "GeneralDialogPanel.h"
#include <Vcl.ExtCtrls.hpp>
#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