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

📄 curvecompareview.cpp

📁 对测井数据显示、编辑、处理
💻 CPP
字号:
// CurveCompareView.cpp : implementation file
//

#include "stdafx.h"
#include "WellDataProcess.h"
#include "CurveCompareView.h"
#include "GlobalData.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CCurveCompareView

IMPLEMENT_DYNCREATE(CCurveCompareView, CScrollView)

CCurveCompareView::CCurveCompareView()
{
	 g_pCompareView = this;
}

CCurveCompareView::~CCurveCompareView()
{
}


BEGIN_MESSAGE_MAP(CCurveCompareView, CScrollView)
	//{{AFX_MSG_MAP(CCurveCompareView)
	ON_WM_CREATE()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CCurveCompareView drawing

void CCurveCompareView::OnInitialUpdate()
{
	CScrollView::OnInitialUpdate();

	CSize sizeTotal;
	// TODO: calculate the total size of this view
	sizeTotal.cx = sizeTotal.cy = 100;
	SetScrollSizes(MM_TEXT, sizeTotal);
	m_wndCurveCompare.Create("CurveCompareWnd", WS_CHILD | WS_VISIBLE, CRect(0, 0, 370, 650), this);
}

void CCurveCompareView::OnDraw(CDC* pDC)
{
	CDocument* pDoc = GetDocument();
	// TODO: add draw code here

}

/////////////////////////////////////////////////////////////////////////////
// CCurveCompareView diagnostics

#ifdef _DEBUG
void CCurveCompareView::AssertValid() const
{
	CScrollView::AssertValid();
}

void CCurveCompareView::Dump(CDumpContext& dc) const
{
	CScrollView::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CCurveCompareView message handlers

int CCurveCompareView::OnCreate(LPCREATESTRUCT lpCreateStruct) 
{
	if (CScrollView::OnCreate(lpCreateStruct) == -1)
		return -1;
	
	return 0;
}

⌨️ 快捷键说明

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