channelpropsheet.cpp

来自「beereader source code」· C++ 代码 · 共 49 行

CPP
49
字号
// ChannelPropSheet.cpp : implementation file
//

#include "stdafx.h"
#include "BeeReader.h"
#include "ChannelPropSheet.h"

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

/////////////////////////////////////////////////////////////////////////////
// CChannelPropSheet

IMPLEMENT_DYNAMIC(CChannelPropSheet, CPropertySheet)

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

CChannelPropSheet::CChannelPropSheet(PGROUPNODE pNode,LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
    m_pChannelData= (PCHANNELDATA)pNode->dwData;
	m_pChannel = m_pChannelData->pChannel;

	AddPage(&page1);
	AddPage(&page2);
	AddPage(&page3);
	m_psh.dwFlags |= PSH_NOAPPLYNOW;
}

CChannelPropSheet::~CChannelPropSheet()
{
}


BEGIN_MESSAGE_MAP(CChannelPropSheet, CPropertySheet)
	//{{AFX_MSG_MAP(CChannelPropSheet)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CChannelPropSheet message handlers

⌨️ 快捷键说明

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