stackdlg.h

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

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

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

class CStackDlg : public CDialog
{
// Construction
public:
	CString ChangeToHexStr(UNSHORT uData);
	void FlushStack();
	CStackDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CStackDlg)
	enum { IDD = IDD_STACK };
	CScrollBar	m_scrStack;
	CListBox	m_displayStack;
	long	m_stackAddr;
	CString	m_stackFirstAddr;
	CString	m_stackTopAddr;
	//}}AFX_DATA

//control
private:
	UINT m_uScrPos;//the scroll position
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CStackDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CStackDlg)
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnMove(int x, int y);
	afx_msg void OnPaint();
	afx_msg void OnClose();
	virtual BOOL OnInitDialog();
	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_STACKDLG_H__7B0E7C12_B04B_4CAF_A790_051003EDB0C5__INCLUDED_)

⌨️ 快捷键说明

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