page2.h
来自「一个pmfix程序」· C头文件 代码 · 共 81 行
H
81 行
#if !defined(AFX_PAGE2_H__1A06D1C1_3DD2_11D7_B14D_002018574596__INCLUDED_)
#define AFX_PAGE2_H__1A06D1C1_3DD2_11D7_B14D_002018574596__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Page2.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CPage2 dialog
#include <vector>
using namespace std;
struct job
{
CString variable;
CString originalvalue;
CString newvalue;
CString path;
CString root;
};
class CPage2 : public CPropertyPage
{
DECLARE_DYNCREATE(CPage2)
// Construction
public:
int FixRegErrors();
int CheckRegErrors();
CPage2();
~CPage2();
vector <job> joblist;
bool isLegalValue(CString value, CString &newValue);
void DoUpdateList();
// Dialog Data
//{{AFX_DATA(CPage2)
enum { IDD = IDD_PROPPAGE_P2 };
CListCtrl m_joblist;
BOOL m_advanced;
CString m_backupfile;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CPage2)
public:
virtual BOOL OnSetActive();
virtual LRESULT OnWizardNext();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPage2)
virtual BOOL OnInitDialog();
afx_msg void OnCheckAdvancedmode();
afx_msg void OnButtonBrowse();
afx_msg void OnPaint();
afx_msg void OnButtonViewlog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PAGE2_H__1A06D1C1_3DD2_11D7_B14D_002018574596__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?