?? 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 + -