pman_visview.h

来自「fortran并行计算包」· C头文件 代码 · 共 71 行

H
71
字号
/* -*- Mode: C; c-basic-offset:4 ; -*- *//* * *  (C) 2001 by Argonne National Laboratory. *      See COPYRIGHT in top-level directory. */// pman_visView.h : interface of the Cpman_visView class//#pragma once#include "ExampleNode.h"class Cpman_visView : public CView{protected: // create from serialization only	Cpman_visView();	DECLARE_DYNCREATE(Cpman_visView)// Attributespublic:	Cpman_visDoc* GetDocument() const;	CPoint m_p1, m_p2;	HANDLE m_hThread;	RECT m_rLast;	bool bConnected;// Operationspublic:// Overrides	public:	virtual void OnDraw(CDC* pDC);  // overridden to draw this viewvirtual BOOL PreCreateWindow(CREATESTRUCT& cs);protected:	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);// Implementationpublic:	virtual ~Cpman_visView();#ifdef _DEBUG	virtual void AssertValid() const;	virtual void Dump(CDumpContext& dc) const;#endifprotected:// Generated message map functionsprotected:	DECLARE_MESSAGE_MAP()public:    afx_msg void OnFileConnect();    afx_msg void OnLButtonDown(UINT nFlags, CPoint point);    afx_msg void OnLButtonUp(UINT nFlags, CPoint point);    afx_msg BOOL OnEraseBkgnd(CDC* pDC);    afx_msg void OnMouseMove(UINT nFlags, CPoint point);    afx_msg void OnRButtonUp(UINT nFlags, CPoint point);    afx_msg void OnFileEnterpoint();    afx_msg void OnFileEnterdemopoints();    afx_msg void OnFileStopdemo();};#ifndef _DEBUG  // debug version in pman_visView.cppinline Cpman_visDoc* Cpman_visView::GetDocument() const   { return reinterpret_cast<Cpman_visDoc*>(m_pDocument); }#endif

⌨️ 快捷键说明

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