// GridColumnSelectorDlg.h : header file
//
#if !defined(_GRIDCOLUMNSELECTORDLG_H_)
#define _GRIDCOLUMNSELECTORDLG_H_

#include <vector>
//#include <string>
#include "cmString.h"

using namespace std;

class CXmlClassInfo;

/////////////////////////////////////////////////////////////////////////////
// CGridColumnSelectorDlg dialog

class CGridColumnSelectorDlg : public CDialog
{
// Construction
public:
	CGridColumnSelectorDlg(CWnd* pParent = NULL);   // standard constructor

	void SetData(CXmlClassInfo* classInfo, vector<cmString>* usedMembers);

// Dialog Data
	//{{AFX_DATA(CGridColumnSelectorDlg)
	enum { IDD = IDD_COLUMN_SELECTION };
	CComboBox	cboFields_;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGridColumnSelectorDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CGridColumnSelectorDlg)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

protected:

	CXmlClassInfo* classInfo_;
	vector<cmString>* usedMembers_;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(_GRIDCOLUMNSELECTORDLG_H_)
