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

📄 pucontrolpan.h

📁 一款国产的8051模拟器(全部源代码) 本软件是一款8051模拟器
💻 H
字号:
#if !defined(AFX_PUCONTROLPAN_H__61A7844F_090A_4CA0_8ADB_3207AEB28800__INCLUDED_)
#define AFX_PUCONTROLPAN_H__61A7844F_090A_4CA0_8ADB_3207AEB28800__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PUControlPan.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPUControlPan dialog
#include ".\CPU\GlobalVar.h"
#include ".\CPU\SerialBus.h"
#include ".\CPU\HEXBIN.h"
class CPUControlPan : public CDialog
{
// Construction
public:
	void SetCPUInfo();
	CPUControlPan(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CPUControlPan)
	enum { IDD = IDD_DIALOG4 };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA
	BYTE isthis;//用来判断是否是自己窗口产生的弹出式菜单
	BYTE ismem;//内存是否选择完毕
	void * ram,* eprom;
	TCHAR * pcpuname,* psbusi,* psbuso,* pepromstr,* pramstr;
	CString  pathstr;
	CMenu popmenu;
	GlobalVar *pcpu;
	//下面几个变量用于计算处理器速度
	LARGE_INTEGER lCnt1,lFr,lCnt2;
	double f1,f2,totaltime;
	DWORD CTL,prclk;
	DWORD sec;//第二次计时才能得到准确时间
	CString cpuspeedstr;
	HEXBIN hex;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPUControlPan)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPUControlPan)
	virtual BOOL OnInitDialog();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnButton5();
	afx_msg void OnButton6();
	afx_msg void OnButton7();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnButton8();
	//}}AFX_MSG
	afx_msg void OnWzdCommandRange_CPU(UINT uid);
	afx_msg void OnWzdCommandRange_EPMEM(UINT uid);
	afx_msg void OnWzdCommandRange_RMEM(UINT uid);
	afx_msg void OnWzdCommandRange_SBUSI(UINT uid);
	afx_msg void OnWzdCommandRange_SBUSO(UINT uid);
	afx_msg void OnWzdCommandRange_WSWND(UINT uid);
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_PUCONTROLPAN_H__61A7844F_090A_4CA0_8ADB_3207AEB28800__INCLUDED_)

⌨️ 快捷键说明

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