53 lines
1.1 KiB
C++
53 lines
1.1 KiB
C++
// PropInfo.cpp : implementation file
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
#include "CB32.h"
|
|
#include "PropInfo.h"
|
|
|
|
#ifdef _DEBUG
|
|
#define new DEBUG_NEW
|
|
#undef THIS_FILE
|
|
static char THIS_FILE[] = __FILE__;
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CPropInfo
|
|
|
|
IMPLEMENT_DYNAMIC(CPropInfo, CPropertySheet)
|
|
|
|
CPropInfo::CPropInfo(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
|
|
:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
|
|
{
|
|
}
|
|
|
|
CPropInfo::CPropInfo(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
|
|
:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
|
|
{
|
|
}
|
|
|
|
CPropInfo::~CPropInfo()
|
|
{
|
|
}
|
|
|
|
BEGIN_MESSAGE_MAP(CPropInfo, CPropertySheet)
|
|
//{{AFX_MSG_MAP(CPropInfo)
|
|
//}}AFX_MSG_MAP
|
|
END_MESSAGE_MAP()
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CPropInfo message handlers
|
|
|
|
void CPropInfo::AddControlPages()
|
|
{
|
|
m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
|
|
m_psh.dwFlags |= PSP_USEHICON;
|
|
m_psh.hIcon = m_hIcon;
|
|
|
|
AddPage(&m_propadd);
|
|
AddPage(&m_propcomp);
|
|
AddPage(&m_propphone);
|
|
AddPage(&m_proponline);
|
|
AddPage(&m_propnote);
|
|
}
|
|
|