mypropetysheet.cpp

来自「APIDemo源码」· C++ 代码 · 共 49 行

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

#include "stdafx.h"
//#include "CFDemo.h"
#include "MyPropetySheet.h"

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

/////////////////////////////////////////////////////////////////////////////
// CMyPropetySheet

IMPLEMENT_DYNAMIC(CMyPropetySheet, CPropertySheet)

CMyPropetySheet::CMyPropetySheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
{
	m_bConnected		= FALSE;
}

CMyPropetySheet::CMyPropetySheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
	m_bConnected		= FALSE;
}

CMyPropetySheet::~CMyPropetySheet()
{
	m_bConnected		= FALSE;
}


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

/////////////////////////////////////////////////////////////////////////////
// CMyPropetySheet message handlers
/*void CMyPropetySheet::OnDataArrive(BYTE *data,int length,DWORD pParent)
{
	CMyPropetySheet *pWnd=(CMyPropetySheet *)pParent;
	::SendMessage(pWnd->GetSafeHwnd(), WM_NEW_DATA_ARRIVE, (WPARAM)data,LPARAM(length));
}*/

⌨️ 快捷键说明

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