www.pudn.com > 基本GIS系统开发.rar > dbaseview.h, change:2005-06-13,size:1969b


#if !defined(AFX_DBASEVIEW_H__CAA603EA_5CA2_4A86_B9B8_90403F5FBF40__INCLUDED_) 
#define AFX_DBASEVIEW_H__CAA603EA_5CA2_4A86_B9B8_90403F5FBF40__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// dbaseview.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CDatabaseView view 
#include "DrawDoc.h" 
class CData1Set; 
class CDatabaseView : public CScrollView 
{ 
    short nCharHeight,nCharWidth;  //字体的高度和宽度 
	int nRecord,nField; 
	int nScreenWide,nScreenHeight; 
	short nFieldWide[200]; 
	short nFieldStart[200]; 
	CSize sizeTotal; 
	CSize sizePage; 
	CSize sizeLine; 
	CData1Set* m_pSet1; 
protected: 
	CDatabaseView();           // protected constructor used by dynamic creation 
	DECLARE_DYNCREATE(CDatabaseView) 
 
// Attributes 
public: 
    CDrawDoc* GetDocument(); 
    void Init1(); 
	void Init2(); 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CDatabaseView) 
	protected: 
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view 
	virtual void OnInitialUpdate();     // first time after construct 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	virtual ~CDatabaseView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
	// Generated message map functions 
	//{{AFX_MSG(CDatabaseView) 
	afx_msg void OnSize(UINT nType, int cx, int cy); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
#ifndef _DEBUG          //文件DbaseView.cpp中的调试版本 
inline CDrawDoc* CDatabaseView::GetDocument() 
{ 
	return (CDrawDoc*) m_pDocument; 
} 
#endif 
 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DBASEVIEW_H__CAA603EA_5CA2_4A86_B9B8_90403F5FBF40__INCLUDED_)