ptysheet.cpp
来自「SQLBig5BugTool 宽字符操作问题」· C++ 代码 · 共 53 行
CPP
53 行
// 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 + =
减小字号Ctrl + -
显示快捷键?