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

📄 executechildframe.h

📁 这个也是我们的毕业设计课题
💻 H
字号:
#if !defined(AFX_EXECUTECHILDFRAME_H__FD3C519E_1703_435E_A9E5_A3D32464E0C9__INCLUDED_)
#define AFX_EXECUTECHILDFRAME_H__FD3C519E_1703_435E_A9E5_A3D32464E0C9__INCLUDED_

#include "DFY\type.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ExecuteChildFrame.h : header file
//
#include "VariableDlg.h"
/////////////////////////////////////////////////////////////////////////////
// CExecuteChildFrame frame

class CExecuteChildFrame : public CMDIChildWnd
{
	DECLARE_DYNCREATE(CExecuteChildFrame)
protected:
	CExecuteChildFrame();           // protected constructor used by dynamic creation

// Attributes
public:

// Operations
public:
	void SetIP(WORD wIP);
	void LoadVarInfo();//load variable information
	BOOL LoadFileToMemory(char* DFYexeFile);//load exe file to memory
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CExecuteChildFrame)
	public:
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle = WS_CHILD | WS_VISIBLE | WS_OVERLAPPEDWINDOW, const RECT& rect = rectDefault, CMDIFrameWnd* pParentWnd = NULL, CCreateContext* pContext = NULL);
	protected:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
	//}}AFX_VIRTUAL

// Implementation
protected:
	void ReportState(CString strState);
	virtual ~CExecuteChildFrame();

	// Generated message map functions
	//{{AFX_MSG(CExecuteChildFrame)
	afx_msg void OnProgramExit();
	afx_msg void OnClose();
	afx_msg void OnPaint();
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnProgramLoad();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CString ChangeToHexStr(UNSHORT wData);
	char* m_strCurOpenFile;//the name of the current open file
	UNSHORT m_uScrollRange;//the scroll range
	UNSHORT m_uIP;//the IP register

	void ShowExeInfo(CString strExeInfo);//show the execute information
	UNSHORT m_uFirstVisualPos;//the fir visual position
};

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

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

#endif // !defined(AFX_EXECUTECHILDFRAME_H__FD3C519E_1703_435E_A9E5_A3D32464E0C9__INCLUDED_)

⌨️ 快捷键说明

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