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

📄 vrvpview.h

📁 此VP的MFC框架是通过创建线程的方式运行的 此框架的优点: 1.使用方便
💻 H
字号:
/////////////////////////////////////////////////////////
//  CLASS:  vrVPView
//  MODULE: vrVPView.h
//	AUTHOR: obuil 
//  mailto: myvr@163.com
//	Date: 10/12/2006
//	Version 2.0.0
////////////////////////////////////////////////////////// 

#if !defined(AFX_VRVPVIEW_H__75BD7646_421A_4ADA_9DE4_5F3A3F082B82__INCLUDED_)
#define AFX_VRVPVIEW_H__75BD7646_421A_4ADA_9DE4_5F3A3F082B82__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// vrVPView.h : header file
//
//#define  _DRENDER 
/////////////////////////////////////////////////////////////////////////////
// vrVPView view


#include <vpWindow.h> 

class  AFX_EXT_CLASS vrVPView : public CView
{


protected:
	vrVPView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(vrVPView)

	// Attributes
public:
	vpWindow*   vpWin;
	CWinThread*	vpThread;
	BOOL		vpStarted;
	BOOL        continueRunning;

	
public:
	void		  runVp( void );
	void		  stopVp( void );
public:
	virtual const char*	  getAcfName( void );
	virtual void	InitModels( void );
	virtual void	vpDefine( void );
	virtual void	vpUpdate( void );


	// Operations
public:

	// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(vrVPView)
protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

	// Implementation
protected:
	virtual ~vrVPView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(vrVPView)
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
//	virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
public:

};

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

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

#endif // !defined(AFX_VRVPVIEW_H__75BD7646_421A_4ADA_9DE4_5F3A3F082B82__INCLUDED_)
/////////////////////////////////////////////////////////
//  MODULE: vrVPView.h
//	AUTHOR: obuil 
//  mailto: myvr@163.com
//	Date: 10/12/2006
//	Version 2.0.0
////////////////////////////////////////////////////////// 

⌨️ 快捷键说明

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