www.pudn.com > TabBar.rar > MainFrm.h
// mainfrm.h : interface of the CMainFrame class.
#if !defined(AFX_MAINFRM_H_INCLUDED_)
#define AFX_MAINFRM_H_INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "tabbarctrl.h"
/////////////////////////////////////////////////////////////////////////////
// class CMainFrame
class CMainFrame : public CFrameWnd
{
DECLARE_DYNCREATE(CMainFrame)
// Construction\Destruction
protected: // create from serialization only
CMainFrame();
virtual ~CMainFrame();
// Attributes
protected:
CImageList m_ImageList;
CSplitterWnd m_wndSplitter;
CTabBarCtrl m_wndTabBar;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
protected:
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM_H_INCLUDED_)