testodbcview.h

来自「[不能选分类或FireFox浏览器请点此处] [建议增加分类] [浏览分类目」· C头文件 代码 · 共 87 行

H
87
字号
// TestODBCView.h : interface of the CTestODBCView class
//
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INCLUDES()
#include "msflexgrid.h"
//}}AFX_INCLUDES

#if !defined(AFX_TESTODBCVIEW_H__1710DD8E_1429_4E03_8CA2_FAB4B376C9E5__INCLUDED_)
#define AFX_TESTODBCVIEW_H__1710DD8E_1429_4E03_8CA2_FAB4B376C9E5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CTestODBCSet;

class CTestODBCView : public CRecordView
{
protected: // create from serialization only
	CTestODBCView();
	DECLARE_DYNCREATE(CTestODBCView)

public:
	//{{AFX_DATA(CTestODBCView)
	enum { IDD = IDD_TESTODBC_FORM };
	CTestODBCSet* m_pSet;
	CMSFlexGrid	m_Flex;
	//}}AFX_DATA

// Attributes
public:
	CTestODBCDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTestODBCView)
	public:
	virtual CRecordset* OnGetRecordset();
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CTestODBCView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CTestODBCView)
	afx_msg void OnButtonFirst();
	afx_msg void OnButtonLast();
	afx_msg void OnButtonNext();
	afx_msg void OnButtonPrev();
	afx_msg void OnAdd();
	afx_msg void OnDelete();
	afx_msg void OnEdit();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in TestODBCView.cpp
inline CTestODBCDoc* CTestODBCView::GetDocument()
   { return (CTestODBCDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_TESTODBCVIEW_H__1710DD8E_1429_4E03_8CA2_FAB4B376C9E5__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?