📄 basesheet.cpp
字号:
// BaseSheet.cpp : implementation file
//
#include "stdafx.h"
#include "resource.h"
#include "BaseSheet.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "engine.h"
#include "base.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CBaseSheet
IMPLEMENT_DYNAMIC(CBaseSheet, CPropertySheet)
CBaseSheet::CBaseSheet(CWnd* pWndParent)
: CPropertySheet(IDS_PROPSHT_CAPTION, pWndParent)
{
// Add all of the property pages here. Note that
// the order that they appear in here will be
// the order they appear in on screen. By default,
// the first page of the set is the active one.
// One way to make a different property page the
// active one is to call SetActivePage().
AddPage(&m_Page1);
AddPage(&m_Page5);
AddPage(&m_Page2);
AddPage(&m_Page4);
AddPage(&m_Page3);
}
CBaseSheet::~CBaseSheet()
{
}
BEGIN_MESSAGE_MAP(CBaseSheet, CPropertySheet)
//{{AFX_MSG_MAP(CBaseSheet)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CBaseSheet message handlers
BOOL CBaseSheet::OnInitDialog()
{
BOOL bResult = CPropertySheet::OnInitDialog();
// TODO: Add your specialized code here
CWnd* pApplyButton = GetDlgItem (ID_APPLY_NOW);
CWnd* pHelpButton=GetDlgItem(IDHELP);
ASSERT (pApplyButton);
ASSERT (pHelpButton);
pApplyButton->ShowWindow (SW_HIDE); //将Apply按钮隐藏
pHelpButton->ShowWindow(SW_HIDE); //将help按钮隐藏
return bResult;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -