?? executechildframe.h
字號(hào):
#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_)
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -