Скачиваний:
22
Добавлен:
01.04.2014
Размер:
1.65 Кб
Скачать
#pragma once

// pluginView form view
#include "resource.h"

class pluginDoc;
class pluginSheet;

class pluginView : public CFormView
{
	DECLARE_DYNCREATE(pluginView)

protected:
	pluginView();           // protected constructor used by dynamic creation
	virtual ~pluginView();
	pluginSheet* m_pSheet;
public:
	pluginDoc* GetDocument();
	void setSheet(pluginSheet* _s) {m_pSheet = _s;}
public:
	enum { IDD = IDD_PLUGINVIEW };
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

public:
	void UpdateListBox(CArray<sc_string, sc_string&> &performerList);
	void UpdateListBox2(CArray<sc_string, sc_string&> &albumList);
	void UpdateListBox3(CArray<sc_string, sc_string&> &tracksList);
	void UpdateEditCountry(sc_string str);
	void UpdateEditKind(sc_string str);
	void UpdateEditYearF(sc_string str);
	void UpdateEditType(sc_string str);
	void UpdateEditRewards(sc_string str);
	void UpdateEditVolume(sc_string str);
	void UpdateEditStyle(sc_string str);
	void UpdateEditLabel(sc_string str);
	void UpdateEditRating(sc_string str);
	void UpdateComboRating();
	void UpdateSearchRating(CArray<sc_string, sc_string&> &trackList);
	

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButton1();
	afx_msg void OnBnClickedButton2();


	afx_msg void OnLbnSelchangeList1();
	afx_msg void OnLbnSelchangeList2();
	afx_msg void OnLbnSelchangeList3();
	
	DECLARE_EVENTSINK_MAP()
	void OpenStateChangeOcx1(long NewState);
	void OpenStateChangeOcx2(long NewState);
};


Соседние файлы в папке src