www.pudn.com > sqlcommand.zip > SQLCommandView.h


// SQLCommandView.h : interface of the CSQLCommandView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_SQLCOMMANDVIEW_H__B397806A_EA76_419E_9F08_DA15DB7ED496__INCLUDED_) 
#define AFX_SQLCOMMANDVIEW_H__B397806A_EA76_419E_9F08_DA15DB7ED496__INCLUDED_ 
 
#if _MSC_VER >= 1000 
#pragma once 
#endif // _MSC_VER >= 1000 
 
#include "AutoListCtrl.h" 
 
class CSQLCommandView : public CFormView 
{ 
protected: // create from serialization only 
	CSQLCommandView(); 
	DECLARE_DYNCREATE(CSQLCommandView) 
 
public: 
	//{{AFX_DATA(CSQLCommandView) 
	enum { IDD = IDD_SQLCOMMAND_FORM }; 
	CComboBox	m_CommandCombo; 
	CButton	m_GoButton; 
	CAutoListCtrl	m_Results; 
	CString	m_strSQL; 
	//}}AFX_DATA 
 
// Attributes 
public: 
	CSQLCommandDoc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CSQLCommandView) 
	public: 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	virtual void OnInitialUpdate(); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CSQLCommandView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CSQLCommandView) 
	afx_msg void OnSqlExit(); 
	afx_msg void OnGoButton(); 
	afx_msg void OnSelchangeCommand(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in SQLCommandView.cpp 
inline CSQLCommandDoc* CSQLCommandView::GetDocument() 
   { return (CSQLCommandDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_SQLCOMMANDVIEW_H__B397806A_EA76_419E_9F08_DA15DB7ED496__INCLUDED_)