mainfrm.h

来自「计算机体系结构中,关于DLXS的模拟程序.在vc6.0下编译通过.」· C头文件 代码 · 共 77 行

H
77
字号
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAINFRM_H__58ED2C62_D64E_416E_8E02_C8F4E823AF8E__INCLUDED_)
#define AFX_MAINFRM_H__58ED2C62_D64E_416E_8E02_C8F4E823AF8E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "mybar.h"
#include "MemBar.h"
#include "RegBar.h"
#include "codemem.h"

class CMainFrame : public CFrameWnd
{
	
protected: // create from serialization only
	CMainFrame();
	DECLARE_DYNCREATE(CMainFrame)

// Attributes
public:
	// splitter bar embedded members
	

	CMyBar    m_wndMyBar;
	CMemBar   m_wndMemBar;
	CRegBar	  m_wndRegBar;
	CCodeMemBar m_wndCodeMemBar;
	bool m_bSkinned;
	int m_nIndex;
//	CSplitter m_wndSplitter3;
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual BOOL DestroyWindow();
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	//}}AFX_VIRTUAL

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

protected:  // control bar embedded members
	CStatusBar  m_wndStatusBar;
	CToolBar    m_wndToolBar;

// Generated message map functions
protected:
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnIdEditbar();
	afx_msg void OnIdMembar();
	afx_msg void OnIdRegbar();
	afx_msg void OnIdCodemembar();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_MAINFRM_H__58ED2C62_D64E_416E_8E02_C8F4E823AF8E__INCLUDED_)

⌨️ 快捷键说明

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