CB32 1.2 sources
This commit is contained in:
parent
cf25bc7627
commit
fd87f89a19
100 changed files with 14543 additions and 0 deletions
52
PrefPage.cpp
Normal file
52
PrefPage.cpp
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
// PrefPage.cpp : implementation file
|
||||
//
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "CB32.h"
|
||||
#include "PrefPage.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
#undef THIS_FILE
|
||||
static char THIS_FILE[] = __FILE__;
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CPrefPage
|
||||
|
||||
IMPLEMENT_DYNAMIC(CPrefPage, CPropertySheet)
|
||||
|
||||
CPrefPage::CPrefPage(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
|
||||
:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
|
||||
{
|
||||
}
|
||||
|
||||
CPrefPage::CPrefPage(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
|
||||
:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
|
||||
{
|
||||
}
|
||||
|
||||
CPrefPage::~CPrefPage()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
BEGIN_MESSAGE_MAP(CPrefPage, CPropertySheet)
|
||||
//{{AFX_MSG_MAP(CPrefPage)
|
||||
// NOTE - the ClassWizard will add and remove mapping macros here.
|
||||
//}}AFX_MSG_MAP
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CPrefPage message handlers
|
||||
|
||||
void CPrefPage::AddCtrlPages()
|
||||
{
|
||||
m_hIcn = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
|
||||
m_psh.dwFlags |= PSP_USEHICON;
|
||||
m_psh.hIcon = m_hIcn;
|
||||
|
||||
AddPage(&m_prefset);
|
||||
AddPage(&m_prefcol);
|
||||
AddPage(&m_preford);
|
||||
}
|
||||
Reference in a new issue