Files
FC1/Editor/SelectSoundPresetDlg.h
romkazvo 34d6c5d489 123
2023-08-07 19:29:24 +08:00

33 lines
724 B
C++

#pragma once
class CSoundPresetMgr;
// CSelectSoundPresetDlg dialog
class CSelectSoundPresetDlg : public CDialog
{
DECLARE_DYNAMIC(CSelectSoundPresetDlg)
protected:
CSoundPresetMgr *m_pSoundPresetMgr;
CListBox m_wndPresets;
CString m_sCurrPreset;
public:
CSelectSoundPresetDlg(CWnd* pParent = NULL); // standard constructor
virtual ~CSelectSoundPresetDlg();
// Dialog Data
enum { IDD = IDD_SELECTPRESET };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
DECLARE_MESSAGE_MAP()
public:
virtual BOOL OnInitDialog();
void SetCurrPreset(CString sPreset) { m_sCurrPreset=sPreset; }
CString GetCurrPreset() { return m_sCurrPreset; }
afx_msg void OnLbnSelchangePresets();
};