📄 myproperty.cpp
字号:
// MyProperty.cpp : implementation file
//
#include "stdafx.h"
#include "tbvc.h"
#include "MyProperty.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMyProperty
IMPLEMENT_DYNAMIC(CMyProperty, CPropertySheet)
CMyProperty::CMyProperty():CPropertySheet("私人通讯录VC版",NULL,0)
{
}
CMyProperty::~CMyProperty()
{
}
BEGIN_MESSAGE_MAP(CMyProperty, CPropertySheet)
//{{AFX_MSG_MAP(CMyProperty)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
void CMyProperty::PostNcDestroy()
{
for(int i=0;i<GetPageCount();i++)
{
CPropertyPage* pPage=GetPage(i);
delete pPage;
}
//if DEBUG ,comment the line delete this;
delete this;
CPropertySheet::PostNcDestroy();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -