📄 cdipage.h
字号:
// DIPage.h : header file
//
#ifndef __DIPAGE_H__
#define __DIPAGE_H__
#include "resource.h"
#include "Common/FlatButton.h"
/////////////////////////////////////////////////////////////////////////////
// CDIPage1 dialog
class CDIPage1 : public CPropertyPage
{
DECLARE_DYNCREATE(CDIPage1)
// Construction
public:
void Apply();
CDIPage1();
~CDIPage1();
// Dialog Data
//{{AFX_DATA(CDIPage1)
enum { IDD = IDD_DIPAGE1 };
CSpinButtonCtrl m_wndIntervalSpin;
BOOL m_bRemovable;
BOOL m_bRemote;
BOOL m_bRamDrive;
UINT m_nInterval;
BOOL m_bCDROM;
BOOL m_bFixed;
CString m_strExclude;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CDIPage1)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDIPage1)
afx_msg void OnChangde();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CDIPage2 dialog
class CDIPage2 : public CPropertyPage
{
DECLARE_DYNCREATE(CDIPage2)
// Construction
public:
void EnableControls(BOOL b);
void Apply();
CDIPage2();
~CDIPage2();
// Dialog Data
//{{AFX_DATA(CDIPage2)
enum { IDD = IDD_DIPAGE2 };
CListBox m_wndFolderList;
CFlatButton m_wndFolderRemove;
CFlatButton m_wndFolderAdd;
CFlatButton m_wndFolderUp;
CFlatButton m_wndFolderDown;
BOOL m_bEnableFolder;
double m_dRedAlert;
double m_dYellowAlert;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CDIPage2)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDIPage2)
afx_msg void OnEnableFolder();
afx_msg void OnChangde();
virtual BOOL OnInitDialog();
afx_msg void OnAddFolder();
afx_msg void OnRemoveFolder();
afx_msg void OnFolderUp();
afx_msg void OnFolderDown();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CDIPage3 dialog
class CDIPage3 : public CPropertyPage
{
DECLARE_DYNCREATE(CDIPage3)
// Construction
public:
void OnBrowse(UINT nID);
void Apply();
void EnableControls(BOOL b);
CDIPage3();
~CDIPage3();
// Dialog Data
//{{AFX_DATA(CDIPage3)
enum { IDD = IDD_DIPAGE3 };
CFlatButton m_wndBrowsePressed;
CFlatButton m_wndBrowseTotal;
CFlatButton m_wndBrowseHigh;
CFlatButton m_wndBrowseFree;
CFlatButton m_wndBrowseFolder;
CFlatButton m_wndBrowseDrive;
BOOL m_bEnableBackground;
CString m_strBmpDrive;
CString m_strBmpFolder;
CString m_strBmpFree;
CString m_strBmpHigh;
CString m_strBmpPressed;
CString m_strBmpTotal;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CDIPage3)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDIPage3)
afx_msg void OnBmpBackground();
virtual BOOL OnInitDialog();
afx_msg void OnChanged();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CDIPage4 dialog
class CDIPage4 : public CPropertyPage
{
DECLARE_DYNCREATE(CDIPage4)
// Construction
public:
void Apply();
CDIPage4();
~CDIPage4();
// Dialog Data
//{{AFX_DATA(CDIPage4)
enum { IDD = IDD_DIPAGE4 };
int m_nStartMode;
int m_intDetailStartup;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CDIPage4)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDIPage4)
virtual BOOL OnInitDialog();
afx_msg void OnSelChanged();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif // __DIPAGE_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -