⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testmdbview.h

📁 中文信息处理方面的一个源码。此为一个拼音分析和生成软件功能强大
💻 H
字号:
// TestMDBvw.h : interface of the CTestMDBView class
//
/////////////////////////////////////////////////////////////////////////////
#include "RowView.h"

#if !defined(AFX_TestMDBVIEW_H__87130E7F_8817_11D0_86C5_F5A2C72DE570__INCLUDED_)
#define AFX_TestMDBVIEW_H__87130E7F_8817_11D0_86C5_F5A2C72DE570__INCLUDED_

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

class CTestMDBView : public CRowView
{
private:
	int m_nSelectedRow;
	CDaoRecordset* m_pSet;
protected: // create from serialization only
	CTestMDBView();
	DECLARE_DYNCREATE(CTestMDBView)

// Attributes
public:
	CTestMDBDoc* GetDocument();
	//{{AFX_VIRTUAL(CTestMDBView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void OnUpdate(CView*, LPARAM lHint, CObject* pHint);
	//}}AFX_VIRTUAL


// Overrides of CRowView
	void OnDrawRow(CDC* pDC, int nRowNo, int y, BOOL bSelected);
	void GetRowWidthHeight(CDC* pDC, int& nRowWidth, 
		int& nRowHeight, int& nCharWidth);
	int GetActiveRow();
	int GetRowCount();
	void ChangeSelectionNextRow(BOOL bNext);
	void ChangeSelectionToRow(int nRow);

// Implementation
public:
	virtual ~CTestMDBView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif
private:
	void DrawDataRow(CDC* pDC, int y);
// Generated message map functions
protected:
	//{{AFX_MSG(CTestMDBView)
	afx_msg void OnSetFocus(CWnd* pOldWnd);
	afx_msg int OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT message);
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG	// debug version in TestMDBvw.cpp
inline CTestMDBDoc* CTestMDBView::GetDocument()
   { return (CTestMDBDoc*) m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////


//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TestMDBVIEW_H__87130E7F_8817_11D0_86C5_F5A2C72DE570__INCLUDED_)

⌨️ 快捷键说明

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