📄 ptysheet.cpp
字号:
// PtySheet.cpp: implementation of the CPtySheet class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "PtySheet.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
IMPLEMENT_DYNCREATE(CPtySheet, CPropertySheet)
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CPtySheet::CPtySheet( ):
CPropertySheet()
{
m_dwAutoSetPageIndexCount=0;
}
CPtySheet::CPtySheet( UINT nIDCaption, CWnd *pParentWnd, UINT iSelectPage ):
CPropertySheet(nIDCaption,pParentWnd,iSelectPage)
{
m_dwAutoSetPageIndexCount=0;
}
CPtySheet::CPtySheet( LPCTSTR pszCaption, CWnd *pParentWnd, UINT iSelectPage):
CPropertySheet(pszCaption,pParentWnd,iSelectPage)
{
m_dwAutoSetPageIndexCount=0;
}
void CPtySheet::AddPageEx(
CPtyPage * pPage,
const bool bAutoSetPageIndex
)
{
//pPage->SetPageIndex(GetPageCount());
if(bAutoSetPageIndex)
{
pPage->SetPageIndex(m_dwAutoSetPageIndexCount++);
}
else
{
pPage->SetPageIndex(-1);
}
CPropertySheet::AddPage(pPage);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -