📄 mypropetysheet.cpp
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -