propertysheetex.cpp

来自「windows ce开发技巧与实例光盘代码」· C++ 代码 · 共 58 行

CPP
58
字号
// PropertySheetEx.cpp : implementation file
//
#include "stdafx.h"
#include "resource.h"
#include "PropertySheetEx.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CPropertySheetEx

IMPLEMENT_DYNAMIC(CPropertySheetEx, CPropertySheet)

CPropertySheetEx::CPropertySheetEx(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
{
}

CPropertySheetEx::CPropertySheetEx(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
}

CPropertySheetEx::~CPropertySheetEx()
{
}


BEGIN_MESSAGE_MAP(CPropertySheetEx, CPropertySheet)
	//{{AFX_MSG_MAP(CPropertySheetEx)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CPropertySheetEx message handlers

BOOL CPropertySheetEx::OnInitDialog() 
{
	CPropertySheet::OnInitDialog();
	
	m_wndCommandBar.Create(this);

	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

BOOL CPropertySheetEx::ContinueModal() 
{
	if (!CWnd::ContinueModal())
		return FALSE;

	return TRUE;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?