memorydlg.h

来自「这个也是我们的毕业设计课题」· C头文件 代码 · 共 61 行

H
61
字号
#if !defined(AFX_MEMORYDLG_H__65685307_75FB_4A84_BC15_45AE296999EC__INCLUDED_)
#define AFX_MEMORYDLG_H__65685307_75FB_4A84_BC15_45AE296999EC__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MemoryDlg.h : header file
//
#include "DFY\type.h"
/////////////////////////////////////////////////////////////////////////////
// CMemoryDlg dialog

class CMemoryDlg : public CDialog
{
// Construction
public:
	void FlushDisplay();
	CMemoryDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CMemoryDlg)
	enum { IDD = IDD_MEMORY };
	CScrollBar	m_scrMemPos;
	CListBox	m_listDisplayMem;
	int		m_editMemPos;
	CString	m_strMemPos;
	//}}AFX_DATA

private:
//Control
	int m_nMemPos;
	CEdit* m_pEditAddrInput;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMemoryDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	void DisplayMem(UNSHORT uAddr);

	// Generated message map functions
	//{{AFX_MSG(CMemoryDlg)
	virtual void OnOK();
	virtual void OnCancel();
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg void OnMove(int x, int y);
	afx_msg void OnClose();
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_MEMORYDLG_H__65685307_75FB_4A84_BC15_45AE296999EC__INCLUDED_)

⌨️ 快捷键说明

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