testmatcom_mfcview.h

来自「《精通matlab与c++混合编程》的光盘内容」· C头文件 代码 · 共 76 行

H
76
字号
// testmatcom_mfcView.h : interface of the CTestmatcom_mfcView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_TESTMATCOM_MFCVIEW_H__52CD9650_BE76_4E81_9154_25C00376E1A1__INCLUDED_)
#define AFX_TESTMATCOM_MFCVIEW_H__52CD9650_BE76_4E81_9154_25C00376E1A1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "matlib.h"

class CTestmatcom_mfcView : public CView
{
protected: // create from serialization only
	CTestmatcom_mfcView();
	DECLARE_DYNCREATE(CTestmatcom_mfcView)

// Attributes
public:
	CTestmatcom_mfcDoc* GetDocument();

// Operations
public:
	Mm m_h;
	Mm m_data;
	Mm m_h1;
	Mm m_data1;
	int m_hFlag;
	BOOL isInitMatcom;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTestmatcom_mfcView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	bool IsMatcomHanleValid(Mm handle);
	virtual ~CTestmatcom_mfcView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CTestmatcom_mfcView)
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnDrawnoise();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in testmatcom_mfcView.cpp
inline CTestmatcom_mfcDoc* CTestmatcom_mfcView::GetDocument()
   { return (CTestmatcom_mfcDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_TESTMATCOM_MFCVIEW_H__52CD9650_BE76_4E81_9154_25C00376E1A1__INCLUDED_)

⌨️ 快捷键说明

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