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

📄 watchdialog.h

📁 一个完全使用MFC框架开发的C++编译器的代码。功能十分强大可以编译大型程序。
💻 H
字号:
// WatchDialog.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CWatchDialog dialog

class CWatchDialog : public CDialog
{
// Construction
	class CAddWatch* m_pdlgAddWatch;
public:
	CWatchDialog(CWnd* pParent = 0);   // standard constructor
	~CWatchDialog();
	void AddWatch()
		{ OnAddwatch(); }
	void AddSelectedWatch(const std::string& watch);
	void AddWatch(const CString& strWatch);
	void ClearWatches();
	int GetWatchCount();
	void GetWatchValue(int nSel, CString& strValue);
	void DisplayWatch(const CString& strVarName, const CString& strVarValue);
	CString* GetWatchNames();
	CListBox* GetWatchListbox();

// Dialog Data

	CString* Watches;

	//{{AFX_DATA(CWatchDialog)
	enum { IDD = IDD_WATCH };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CWatchDialog)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation

protected:

	// Generated message map functions
	//{{AFX_MSG(CWatchDialog)
	afx_msg void OnAddwatch();
	afx_msg void OnDeletewatch();
	afx_msg void OnDestroy();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnDeletewatches();
	afx_msg void OnHelp();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

⌨️ 快捷键说明

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