MyTabCtrl.h
上传用户:yangxun008
上传日期:2008-03-25
资源大小:3863k
文件大小:1k
- #if !defined(AFX_MYTABCTRL_H__F3E8650F_019C_479F_9E0F_60FE1181F49F__INCLUDED_)
- #define AFX_MYTABCTRL_H__F3E8650F_019C_479F_9E0F_60FE1181F49F__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // MyTabCtrl.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CMyTabCtrl window
- class CMyTabCtrl : public CTabCtrl
- {
- // Construction
- public:
- CMyTabCtrl();
- CDialog *m_tabPages[5];
- int m_tabCurrent;
- int m_nNumberOfPages;
- // Attributes
- public:
- // Operations
- public:
- void Init();
- void SetRectangle();
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMyTabCtrl)
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CMyTabCtrl();
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMyTabCtrl)
- 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_MYTABCTRL_H__F3E8650F_019C_479F_9E0F_60FE1181F49F__INCLUDED_)