TabDataSheet.h
上传用户:hjw22cn
上传日期:2007-01-11
资源大小:192k
文件大小:2k
- #if !defined(AFX_TABDATASHEET_H__41296CC5_8B98_11D3_8FCF_0008C73BFB99__INCLUDED_)
- #define AFX_TABDATASHEET_H__41296CC5_8B98_11D3_8FCF_0008C73BFB99__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // TabDataSheet.h : header file
- //
- #include "PageBase.h"
- #include "FlowPage.h"
- #include "HtmlPage.h"
- /////////////////////////////////////////////////////////////////////////////
- // CTabDataSheet
- class CTabDataSheet : public CPropertySheet
- {
- DECLARE_DYNAMIC(CTabDataSheet)
- public:
- CTabDataSheet(UINT nParentID, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CTabDataSheet)
- //}}AFX_VIRTUAL
- virtual ~CTabDataSheet();
- protected:
- //{{AFX_MSG(CTabDataSheet)
- //}}AFX_MSG
- afx_msg LRESULT OnChangePage (WPARAM wParam, LPARAM lParam);
- afx_msg LRESULT OnShowHideTab (WPARAM wParam, LPARAM lParam);
- afx_msg LRESULT OnReflectMsgToPage (WPARAM wParam, LPARAM lParam);
- afx_msg LRESULT OnReflectMsgToDialog(WPARAM wParam, LPARAM lParam);
- afx_msg LRESULT OnShutdown (WPARAM wParam, LPARAM lParam);
- DECLARE_MESSAGE_MAP()
- CWnd* m_pParent; // parent dialog box
- UINT m_nParentID; // resource ID of parent dialog box
- int m_nPageCount; // number of tab pages displayed
- private :
- int m_nLastError;
- CImageList m_imageList;
- CTabCtrl* m_pTab;
- CFlowPage m_FlowPage1;
- CFlowPage m_FlowPage2;
- CFlowPage m_FlowPage3;
- CFlowPage m_FlowPage4;
- CHtmlPage m_HtmlPage;
- public:
- //int GetLastError () { return m_nLastError; };
- void SetTabItemInfo (int currentPage, void* itemPtr);
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_TABDATASHEET_H__41296CC5_8B98_11D3_8FCF_0008C73BFB99__INCLUDED_)