📄 sheet.cpp
字号:
// Sheet.cpp : implementation file
//
#include "stdafx.h"
#include "Made.h"
#include "Sheet.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSheet
IMPLEMENT_DYNAMIC(CSheet, CPropertySheet)
CSheet::CSheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
{
}
CSheet::CSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
AddPage(&m_Comp);
AddPage(&m_Equality);
AddPage(&m_Frac);
AddPage(&m_Link);
AddPage(&m_Look);
}
CSheet::~CSheet()
{
}
BEGIN_MESSAGE_MAP(CSheet, CPropertySheet)
//{{AFX_MSG_MAP(CSheet)
ON_WM_DESTROY()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSheet message handlers
void CSheet::OnDestroy()
{
CPropertySheet::OnDestroy();
CMadeApp * pa=(CMadeApp *)AfxGetApp();
pa->WriteProfileInt("Set","History",GetActiveIndex());
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -