📄 loggingpage.h
字号:
#if !defined(AFX_LOGGINGPAGE_H__747B4A28_2875_4F43_8F53_6968FC77DEA0__INCLUDED_)
#define AFX_LOGGINGPAGE_H__747B4A28_2875_4F43_8F53_6968FC77DEA0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LoggingPage.h : header file
//
#include "SynKit.h"
#include "ChildView.h"
/////////////////////////////////////////////////////////////////////////////
// CLoggingPage dialog
class CLoggingPage : public CPropertyPage
{
DECLARE_DYNCREATE(CLoggingPage)
// Construction
public:
CLoggingPage();
~CLoggingPage();
// Dialog Data
//{{AFX_DATA(CLoggingPage)
enum { IDD = IDD_LOG };
CString m_LogFileName;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CLoggingPage)
public:
virtual void OnOK();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CLoggingPage)
afx_msg void OnEnable();
afx_msg void OnDisable();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
CChildView *m_pView;
int m_iState;
void SetView(CChildView *pView)
{
m_pView = pView;
m_iState = pView->LogState();
m_LogFileName = m_pView->m_LogName;
}
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LOGGINGPAGE_H__747B4A28_2875_4F43_8F53_6968FC77DEA0__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -