www.pudn.com > MapDB.rar > QueryDlg.h


#if !defined(AFX_QUERYDLG_H__240F3D3F_BDE8_432A_A163_A33FD215D9D8__INCLUDED_) 
#define AFX_QUERYDLG_H__240F3D3F_BDE8_432A_A163_A33FD215D9D8__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// QueryDlg.h : header file 
// 
#define IDQUERY			0 
#define TITLEQUERY		1 
 
#include "MapDBDoc.h" 
///////////////////////////////////////////////////////////////////////////// 
// CQueryDlg dialog 
 
class CQueryDlg : public CDialog 
{ 
// Construction 
public: 
	void SetQuery(int query); 
	CQueryDlg(CMapDBDoc * pDoc,CWnd* pParent = NULL);   // standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CQueryDlg) 
	enum { IDD = IDD_QUERY_DIALOG }; 
	CListBox	m_fromlist; 
	CListBox	m_tolist; 
	CString	m_prompt; 
	//}}AFX_DATA 
private: 
	int		m_query; 
	CMapDBDoc * m_pDoc; 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CQueryDlg) 
	public: 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(CQueryDlg) 
	afx_msg void OnAddButton(); 
	afx_msg void OnAddallButton(); 
	afx_msg void OnRemoveButton(); 
	afx_msg void OnRemoveallButton(); 
	virtual void OnOK(); 
	virtual BOOL OnInitDialog(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_QUERYDLG_H__240F3D3F_BDE8_432A_A163_A33FD215D9D8__INCLUDED_)