TabSheet.h
资源名称:MiniCA2.rar [点击查看]
上传用户:dengkfang
上传日期:2008-12-30
资源大小:5233k
文件大小:1k
源码类别:
CA认证
开发平台:
Visual C++
- #if !defined(AFX_TABSHEET_H__7B923B80_00CF_45FF_91AD_77D13B2B2CFD__INCLUDED_)
- #define AFX_TABSHEET_H__7B923B80_00CF_45FF_91AD_77D13B2B2CFD__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // TabSheet.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CTabSheet window
- #define MAXPAGE 16
- class CTabSheet : public CTabCtrl
- {
- // Construction
- public:
- CTabSheet();
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CTabSheet)
- //}}AFX_VIRTUAL
- // Implementation
- public:
- int GetCurSel();
- int SetCurSel(int nItem);
- void Show();
- void SetRect();
- BOOL AddPage(LPCTSTR title, UINT uImgIndex, CDialog *pDialog, UINT ID);
- void SetPageName(UINT uPageIndex, CString strTitle);
- virtual ~CTabSheet();
- // Generated message map functions
- protected:
- CString m_Title[MAXPAGE];
- UINT m_IDD[MAXPAGE];
- UINT m_Image[MAXPAGE];
- CDialog* m_pPages[MAXPAGE];
- int m_nNumOfPages;
- int m_nCurrentPage;
- //{{AFX_MSG(CTabSheet)
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_TABSHEET_H__7B923B80_00CF_45FF_91AD_77D13B2B2CFD__INCLUDED_)