PageBase.h
上传用户:hjw22cn
上传日期:2007-01-11
资源大小:192k
文件大小:1k
- #ifndef __PAGEBASE_H
- #define __PAGEBASE_H
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // PageBase.h : header file
- //
- #include "ResizablePage.h"
- /////////////////////////////////////////////////////////////////////////////
- // CPageBase dialog
- class CTabDataSheet;
- class CPageBase : public CResizablePage
- {
- DECLARE_DYNCREATE(CPageBase)
- // Construction
- public:
- CPageBase();
- CPageBase(int resourceID);
- ~CPageBase();
- // Overrides
- // ClassWizard generate virtual function overrides
- //{{AFX_VIRTUAL(CPageBase)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CPageBase)
- virtual BOOL OnInitDialog();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- protected:
- CTabDataSheet* m_pParent;
- public:
- virtual int GetTabID() { ASSERT(FALSE); return 0; };
- void SetTabInfo(void* itemPtr);
- void InitPage(CTabDataSheet* pParent) { m_pParent = pParent; };
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_VPTABBASE_H__41296CC6_8B98_11D3_8FCF_0008C73BFB99__INCLUDED_)