PageBase.cpp
上传用户:hjw22cn
上传日期:2007-01-11
资源大小:192k
文件大小:2k
- // VpTabBase.cpp : implementation file
- //
- // base class for property pages. Not really necessary right now, but you
- //never know what the future might bring.
- #include "stdafx.h"
- #include "Constants.h"
- #include "PageBase.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CPageBase property page
- IMPLEMENT_DYNCREATE(CPageBase, CResizablePage)
- CPageBase::CPageBase() : CResizablePage("", 0)
- {
- //don't use the default constructor
- ASSERT(FALSE);
- }
- CPageBase::CPageBase(int resourceID) : CResizablePage(resourceID)
- {
- //{{AFX_DATA_INIT(CPageBase)
- // NOTE: the ClassWizard will add member initialization here
- //}}AFX_DATA_INIT
- }
- CPageBase::~CPageBase()
- {
- }
- void CPageBase::DoDataExchange(CDataExchange* pDX)
- {
- CResizablePage::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CPageBase)
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CPageBase, CResizablePage)
- //{{AFX_MSG_MAP(CPageBase)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CPageBase message handlers
- BOOL CPageBase::OnInitDialog()
- {
- CResizablePage::OnInitDialog();
- return TRUE; // return TRUE unless you set the focus to a control
- // EXCEPTION: OCX Property Pages should return FALSE
- }
- //-----------------------------------------------------------------------------/
- void CPageBase::SetTabInfo(void* itemPtr)
- {
- itemPtr;
- ASSERT(FALSE);
- }