⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ptysheet.cpp

📁 SQLBig5BugTool 宽字符操作问题
💻 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 + -