?? debugchildframe.h
字號:
#if !defined(AFX_DEBUGCHILDFRAME_H__E31F6EC2_8A93_4050_A1EA_3F5E90FB5DB5__INCLUDED_)
#define AFX_DEBUGCHILDFRAME_H__E31F6EC2_8A93_4050_A1EA_3F5E90FB5DB5__INCLUDED_
#include "DFY\type.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DebugChildFrame.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDebugChildFrame frame
class CDebugChildFrame : public CMDIChildWnd
{
DECLARE_DYNCREATE(CDebugChildFrame)
protected:
CDebugChildFrame(); // protected constructor used by dynamic creation
// Attributes
public:
// Operations
public:
void SetIP(WORD wIP);
CString ChangeToHexStr(UNSHORT wData);
BOOL LoadFileToMemory(char* fileName);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDebugChildFrame)
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);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CDebugChildFrame();
// Generated message map functions
//{{AFX_MSG(CDebugChildFrame)
afx_msg void OnClose();
afx_msg void OnProgramLoad();
afx_msg void OnProgramExit();
afx_msg void OnPaint();
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void LoadVarInfo();
void ReportState(CString strState);
UNSHORT m_uScrollRange;//the scrollRange
UNSHORT m_uIP;//the IP register
UNSHORT m_uFirstVisualPos;//the first visual position
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DEBUGCHILDFRAME_H__E31F6EC2_8A93_4050_A1EA_3F5E90FB5DB5__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -