CB32 1.2 sources
This commit is contained in:
parent
cf25bc7627
commit
fd87f89a19
100 changed files with 14543 additions and 0 deletions
53
PropInfo.cpp
Normal file
53
PropInfo.cpp
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
// 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);
|
||||
}
|
||||
|
||||
Reference in a new issue