This repository has been archived on 2024-03-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
ContactBook/PropInfo.cpp
2024-03-20 09:28:18 -05:00

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);
}